Question: I write this code now and this is first frame Login Frame How to create class AddTrainGUI ? please i need solve this ... 2.

I write this code now and this is first frame "Login Frame"

How to create class "AddTrainGUI" ? please i need solve this ...

I write this code now and this is first frame "Login Frame"

How to create class "AddTrainGUI" ? please i need solve this ...

2. The class Train: Implement the class Train implementing Serializable. All the Objects of this class will be stored in the file "Train.txt". 3. The class Admin: The "Add Train" GUI is described as follows: In order to add a train to the "Train.txt" file, the admin needs to enter an id. The id is unique, so before adding the train we need to check if there is no other train in the file with the same id. The Admin should choose two different stations and define the maximum number of passengers that could take the train. Otherwise, if the departure station and the arrival station are equal or the "Max Passengers" is not specified, the following message will appear: If all the inputs fields are well and correctly given, an Object Train will be added to the file and a message will appear by the system

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!