PROGRAMMING 1 RMIT Classification: Trusted RMIT Classification: Trusted Assignment 2 Total 50 marks Worth 30% of total mark Due date: 285th May 2021 Introduction In assignment 2 you will create GUI...

Create BikeHire shop and implement GUI


PROGRAMMING 1 RMIT Classification: Trusted RMIT Classification: Trusted Assignment 2 Total 50 marks Worth 30% of total mark Due date: 285th May 2021 Introduction In assignment 2 you will create GUI for software application “BikeHire” created in Assignment 1. · Your GUI will be able to display all bikes with details available for rent. · Your GUI will have an option for adding bikes (including EBikes) · Your GUI will be able to show all customers registered in the system. · It will also have an option to add a new customer. · You will use the GUI to collect details of a new rent. Based on these details your application will create the rent and add it to the list of rents. · All current rents must be displayed with details on click of a button. · Your application should load and save your data in the same way as you were required to in Assignment 1. · Your GUI must be able to display all overdue rents by some date (means that current date or other date you set is later than the date rents were due to return). Tasks Your GUI must support the following business activities 1. Display all bikes showing their availability 2. Add bikes (including eBikes) 3. Add customer 4. List customers 5. Add rent (must search for a first available bike of a required type or select it from the list of bikes displayed on GUI in a selectable list) 6. Display all rents 7. Display overdue rents 8. Return a rent 9. Save all data in files (customers, bikes, rents) 10. Read all data from files (customers, bikes, rents) You can reuse your classes Bike, EBike, Customer, Rent. And “Bike Hire” created in Assignment 1 to hold, store and serve data for the GUI classes. It is recommended to use TabbedPane to create three tabs as BikesTab, CustomersTab, and RentsTab. Each tab panel will have components to perform tasks listed above. You can show images of bikes on click in a bikes list if you want. You can also use selectable components such as JRadioButton, JCheckBox or JComboBox where appropriate. Important The same as in Assignment 1 you must have an initial list of bikes (at least 12 bikes in total, at least three types of ordinary bikes, and least four ebikes of different types of motor). You must also have an initial list of customers (at least 3 customers) and an initial list of rents (at least 2 rents, one for ordinary bike, and another for ebike). Make sure that the bikes that are rented are marked as unavailable in your initial list of bikes. Start your application with populating lists of bikes, customers, and rents. It was done in Assignment 1, don’t forget to call these methods or a method in your GUI. It’s required for debugging and marking. 3 marks will be taken for empty initial lists. Submission Submit on Canvas all your files in a compressed folder named as Marking guide GUI Layout and components (User friendly)10 marks Code Layout and naming 5 Marks Functionality of your GUI: Display lists allow new items10 marks create a rent, display all rents, return a bike10 marks display overdue rents5 marks save and read data10 marks
May 24, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here