Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Worth 30% of total mark Introduction In assignment 2 you will develop GUI for software application Mt Buller winter Resort created in Assignment 1 to
Worth 30% of total mark Introduction In assignment 2 you will develop GUI for software application Mt Buller winter Resort created in Assignment 1 to enable customers to organise their custom packages. The application must include the following functions:
- Display all accommodations
- Display available accommodations
- Add customer
- List customers
- Create a package
- Add a lift pass to package
- Add lesson fees to package
- List packages
- Save packages to file
- Read packages from file
- Quit
- You can reuse your classes Accommodation, Customer, and TravelPackage created in Assignment 1.
- You must design and write a new class ResortGUI which extends JFrame and implements ActionListener interface.
- In a constructor of this class you will initialise sub-containers and add all components to them.
- It is recommended to use JTabbedPane to create two or three tabs, such as AccomodationsTab, CustomersTab, and TravelPackageTab.
- Each tab panel will have components (JButton, JLabel, JTextField, JTextArea, etc) to perform tasks listed above.
- You can also use selectable components such as JList and JComboBox where appropriate.
- You can show images of accommodations on click in an accommodations list if you want. You can find images in the same link http://www.mtbuller.com.au/Winter/
- Your GUI ResortGUI class, in the same way as the MtBullerResort class in the Assignment 1, will have ArrayList of customers, ArrayList of accommodations, and ArrayList of travel packages. It can also have a main method to run your GUI.
- You can reuse most of methods created in a MtBullerResort class in Assignment 1. Some methods will need modifications to read from text fields and display data on components
Attachments:
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