Create a GUI application in java language(in one class) that allows the user to select a rate category (from a set of radio buttons), and enter the number of minutes of the call into a text field. A dialog box should display the charge for the call.
-Long Distance calls-
A long-distance provider charges the following rates for telephone calls:
Rate Category
Daytime (6:00 a.m. through 5:59 p.m.)
Rate per Minute
$0.07
---------------------------------------
Rate Category
Evening (6:00 p.m. through 11:59 p.m.)
Rate per Minute
$0.12
---------------------------------------
Rate Category
Off-Peak (12:00 a.m. through 5:59 a.m.)
Rate per Minute
$0.05
---------------------------------------
Create a GUI application in java language(in one class) that allows the user to select a rate category (from a set of radio buttons), and enter the number of minutes of the call into a text field. A dialog box should display the charge for the call.

Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 4 images









