Question: In Java, create a program with an app class, a control class, a model class, a view class, and an Airplane Class. The airplane class

In Java, create a program with an app class, a control class, a model class, a view class, and an Airplane Class.

The airplane class needs properly encapsulated fields with getters and setters. The airplane class must have a feild for the name of an airplane, and the weight of an airplane.

The model class must have an arrayList of airplanes, methods to add and delete an airplane.

The view must display the name of an airplane from an arrayList within a JTextField. The view has a back button and a next button. The user can add airplane names to the arrayList from the view. The view uses the back button to display the previous object name in the arrayList. The next button displays the next model airplane object name when clicked. The user can also delete the current airplane displayed on the JtextField by clicking a delete button.

The control class must mediate the behavior between the model class and the view class.

The app class must create an instance of the control class

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!