Question: ****JAVA GUI Application *** you will design and implement a reservation system for a small hotel. The application must be a GUI program without taking

****JAVA GUI Application ***

you will design and implement a reservation system for a small hotel. The application must be a GUI program without taking any input from the console.

there are total 20 rooms in this hotel. 10 of them are luxurious rooms and their rate is $200. The rest are economic rooms and their rate is $100. We are going to consider two different types of users: Guest and Manager. The system maintains user accounts, reservation records, and room information. A user account information includes user id, password, username, and all reservations this user made excluding canceled ones. Each reservation record knows who made this reservation, which room is assigned, and the period of the reservation. A room holds the room number and its rate.

The initial screen of the application shows two options to determine the type of user: Manager vs. Guest. When a type of user is entered, the system presents the GUI interface for the specific user. When the current user is done, the system should be able to take the type of the next user and the GUI interface should be changed according to the user.

Guest: A guest gets two options: Sign up (for a first timer) and Sign in (for an existing user). With the sign-up option selected, the system asks the user to enter information to create a user account and create it. With the sign in option, the user asks for the user id and password. Handle the error for wrong id and password. Once a guest signed in the account, the system presents two options: Make a reservation and View/Cancel a Reservation .

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!