Answered step by step
Verified Expert Solution
Question
1 Approved Answer
h ow to slove this in java visual programing 4. User (Search Train): After the authentification, the user can make search for a train and
h ow to slove this in java visual programing
4. User (Search Train): After the authentification, the user can make search for a train and make a reservation. First of all the following GUI will appear to the user: - The user should enter two different stations: departure and arrival; also be should define the number of passengers; - If the inputs are empty of the stations are equals the system will show the following message: - When the user press the button "search" the system will open the file and try to find a train with the same defined departure and arrival stations and with a "max Passengers" greater than the "number of passenger" requested by the user. - You should check if the user input exists in the File. If the search is failed the System will show the following message: - If a train is found, the system will show a new GUI for the reservation Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started