Question: 8 ) Please answer all tasks in JAVA Write an application called JInsurance that allows the user to choose insurance options in JCheckBox objects. Use
Please answer all tasks in JAVA
Write an application called JInsurance that allows the user to choose insurance options in JCheckBox objects. Use a ButtonGroup to allow the user to select only one of two insurance typesHMO health maintenance organization or PPO preferred provider organization Use regular single JCheckBox objects 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 JTextField; the HMO costs $ per month, the PPO costs $ per month, the dental coverage adds $ per month, and the vision care adds $ per month. When a user deselects the vision or dental options, make the text field blank.
An example of the program is shown below:
Task : Created the JInsurance class.
Task : The JInsurance program contains four JCheckBox components.
Task : The JInsurance program displays the correct cost for the selection.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
