Swing GUI Lab

Swing GUI Lab

 

Implement a Swing
GUI to allow a user to buy a car. The base cost of this car should be $20,000.

 

It should allow
the user to choose between 5 different colors. Two of the colors should be
premium colors which cost an additional $250.

 

The application
should allow the user to select 2WD or 4WD. 4WD adds $1000 to the price of the
car.

 

The application
should allow the user to select manual or automatic transmission. Automatic
transmission adds $500 to the price of the car.

 

The application
should allow the user to add any or all of the following options.

1.    GPS - $500

2.    Satellite radio - $750

3.    Sunroof - $1000

4.    Heatedseats - $300

5.    DVD player - $500

6.    Premium LED screen - $400

7.    Wifi - $300

 

Options which are
mutually exclusive should be implemented as a set of radio buttons. Options
which are independent should be implemented as check box buttons.

 

The current price
of the car should by automatically recalculated and displayed after any user
interaction. You cannot simply require the user to press a calculate button.
Powered by