Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

how to slove this in java? 4. User (Search Train): After the authentification, the user can make search for a train and make a reservation.

how to slove this in java?
image text in transcribed
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 he 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 epen 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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Modern Database Management

Authors: Heikki Topi, Jeffrey A Hoffer, Ramesh Venkataraman

13th Edition

0134773659, 978-0134773650

More Books

Students also viewed these Databases questions

Question

=+ a. How does this change affect the incentives for working?

Answered: 1 week ago