Question: Write a JavaFX application that allows the user to choose insurance options. Use a ToggleGroup to allow the user to select only one of two
Write a JavaFX application that allows the user to choose insurance options. Use a ToggleGroup to allow the user to select only one of two insurance types—HMO (health maintenance organization) or PPO (preferred provider organization). Use CheckBoxes for dental insurance and vision insurance options; the user can select one option, both options, or neither option. As the user selects each option, display its name and price in a text field; the HMO costs $200 per month, the PPO costs $600 per month, the dental coverage adds $75 per month, and the vision care adds $20 per month. Save the project as FXInsurance.
Step by Step Solution
3.32 Rating (158 Votes )
There are 3 Steps involved in it
GIVEN THAT Java code import javafxapplicationApplication import javafxeventActionEvent import javafxeventEventHandler import javafxgeometryInsets impo... View full answer
Get step-by-step solutions from verified subject matter experts
Document Format (2 attachments)
1817_61d57f25e6966_823144.pdf
180 KBs PDF File
1817_61d57f25e6966_823144.docx
120 KBs Word File
