Answered step by step
Verified Expert Solution
Link Copied!

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:
  1. Display all accommodations
  2. Display available accommodations
  3. Add customer
  4. List customers
  5. Create a package
  6. Add a lift pass to package
  7. Add lesson fees to package
  8. List packages
  9. Save packages to file
  10. Read packages from file
  11. Quit
Specifications:
  • 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
Important requirements as in Assignment 1 1. Create an initial list of accommodations (at least 10 accommodations of different types and price). 2. Create an initial list of customers (at least 3 customers). 3. Start your application with populating lists of accommodations and customers. 4. When a user input is required, guide a user what input is expected. 5. Avoid exceptions by including inputs in try-catch block. Note : All the important requirements are mandatory for running your application. 5 marks will be deducted for empty initial lists and if there is no guidance provided when prompting to enter a value. Submission Submit on Canvas all your files in a compressed folder named as Marking guide See Assignment Rubric.

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

Step: 3

blur-text-image

Recommended Textbook for

Introduction to Wireless and Mobile Systems

Authors: Dharma P. Agrawal, Qing An Zeng

4th edition

1305087135, 978-1305087132, 9781305259621, 1305259629, 9781305537910 , 978-130508713

More Books

Students also viewed these Programming questions

Question

Lab 0 3 : Reconnaissance with Nmap, Zenmap, and Masscan

Answered: 1 week ago

Question

Discuss the ability of a corporation to raise capital.

Answered: 1 week ago

Question

Explain the tax attributes of an LLC.

Answered: 1 week ago