Create a project
Add a JFrame Form
1. Define a class Car with the following fields: make, model, year, mileage, price
2. Build the frame with all the needed components similar to the Employee project
3. Provide a way to enter all the information needed to create a car object and provide a panel in the center of the frame to allow adding a table later on.
4. Create an ArrayList (carList), in JFrame, to hold cars, define myInitComponents method to create a JTable with all the necessary columns, then add it to its container panel.
5. populate the table with at least 7 cars. Add these cars to the carList as well.
6. Add a button to create a new Car and add it to the JTable as well as to the carList
7. Allow single selection for the table, then when a user selects a car and clicks on a button, then all the selected car information should be displayed in the corresponding text boxes.
8. provide a button to change the price of the selected car. reflect the change on the table as well as in the carList.
9. The project should work as expected (no compile error). displays all the cars, saves all the cars to the carList and allow updating the selected car. both the table and the carList should reflect that.
10. The project GUI should look good. good/appropriate fonts, appealing foreground and background colors