Write a Java GUI application that will keep track of sport vehicle details. The application must contain the vehicle name, vehicle price, 0-100 in seconds and the engine size.
Q.3.1
On the form create three radio buttons and a list box to display the vehicle details. Also
create a submit button that when clicked will display the vehicle name, vehicle price, 0-100 in seconds and engine size.
Q.3.2
Create a sequential file (cars.txt) that contains data for the following fields:
• The vehicle name
.
The vehicle price
• The speed from 0 to 100 in seconds
.
The engine size
Q.3.3 Load the data from the cars.txt file and populate the list box with the vehicle details
Sample Screenshot:
L Sports Vehicles
Select Vehicle
Jaguar F-Type
Audi TT
Porsche Cayman
Audi TT
Price: R: 765 000
0-100: 5.5 seconds Engine: 2.0 litre
SUBMIT
Comments
Leave a comment