48024 Programming 2 Alternative Assignment

Download Solution Order New Solution

Assignment Task

Individual Work

All work is individual. You must write every line of code yourself except for code copied from study module sample code, lecture sample code, tutor demos or lab code. In most cases, you may discuss ideas, approaches and problems. However, if an assignment task is labeled as “Advanced”, you must not discuss ideas, approaches and problems. Advanced tasks are designed to test your ability to think on your own. You MUST NOT let another student see your solution code, and you MUST NOT look at another student’s solution code. Sharing your code on public forums such as the discussion board, or Internet forums such as stackoverflow.com is not permitted. More information about Academic Misconduct can be found at:

The main menu is opened when the application launches. It has “Login” button to access the Login window. It also has an exit button which shuts the entire application down. The main menu has a header section with a logo “SUPERMARKET” and the name “Membership Management System”. The title of the window includes a small icon and the tile “MMS – SuperMarket Mode”.

Login Window

The login window is launched from the main menu by opening a separate window. It has OK button to match the email and password for the user. The Cancel button closes the login window. The login window includes a same icon as the main menu and the title is set as “Sign In”.  The OK button will open the admin window if the combination of the email and password is correct. If the combination is not correct, the error message “Incorrect login details” will show up. The TextField is reset to blank after click "OK".

Admin Window

The administration window is launched from the Login window by opening a separate window. The administration window displays the members’ information by a table with 3 columns “Name”, “Email” and “Phone”. The administration window has buttons to open the membership window in a new window to add and update membership and has buttons to open the windows to list the credit slip and report. Only "Add", "Report" and "Close" buttons are enabled initially. When click on one member record in the table, the selected record is highlighted and the “Delete” “Select” “SLIP” buttons are enabled. Click the “Delete” button will remove the selected record from the table. The “Delete” “Select” and “SLIP” buttons will become disabled after the removal. The Close button closes the administration window. The administration window includes a “SuperMarket” icon. The title of the window is “Session Admin” plus the name of the login user.

Admin Filter 

On top of the administration window, there are two independent filters, which display the members with matched name or email. The filters work asynchronously with non-case sensitive partial matching function. Either name filer works, or email filter works, not both. For example: The membership list prints "Memberships list is not loaded" when there is no matches result. The default input texts "Filter by name" and "Filter by email" are displayed when there is no input; The default input texts are disappeared when the input starts.

Membership Window 

The membership window is launched from the administration window by clicking “Select” for a member’s record. The membership window displays the information of “Personal Details” and “Membership Details” for an existing member. The membership window has buttons to update the member’s information and has close button to close the membership window. Only "Update" and "Close" buttons are enabled. Update button opens the error window when the input is not valid. The button closed the window when the input is valid or there is not input. The input validation is described in validator.java and associated with the error window. Meanwhile, Admin window immediately updates the member’s information. The membership window includes an “edit” icon. The title of the window is “Accessing File: ” plus the name of the member.

Membership Window Add 

The membership window is launched from the administration window by clicking “Add”. The membership window displays the empty information, waiting for the input of “Personal Details” and “Membership Details” for a new added member. The membership window has buttons to add and update member’s information, and has close button to close the membership window. Only "Add" and "Close" buttons are enabled. Add button opens the error window when the input is not valid. Add button closed the window when the input is valid. The input validation is described in validator.java and associated with the error window. Meanwhile, Admin window immediately updates the membership list. The membership window includes an “edit” icon. The title of the window is “Adding New Membership”.

Error Window

The error window is popped up when the input is not valid for a member’s record. The error window displays the input error messages based on the input validation described in validator.java.

  • Name Pattern: First name and Last name are two strings with capital letters.

  • Email Pattern: Domain name is appended with@ at the end of the address.

  • Phone Pattern: 8 digits number

  • Address Pattern: Started and ended with number, separated from the street name by space

  • ID Pattern: 8 digits Type will be calculated based on the input expense, which should be a positive float number. The error window has “Okay” button to close the window. The title of the window includes an “error” icon and the name is “Input Exceptions”.

 

Slip Window 

The slip window is launched from the administration window by clicking “SLIP”. The slip window displays the membership information for the selected member. The slip window has “Close” button to close the window. The title of the window includes an “edit” icon and the name is the member’s name plus “SLIP Report”.

Report Window 

The report window is launched from the administration window by clicking “Report”. The report window displays the collective membership information for all the members listed in the Admin window.The report window has “Close” button to close the window. The title of the window includes an “UTS” icon, and the name is “MMS Report”.

Requirements

Layout

To get full marks, you should layout your windows to look as close as possible to the screenshots. This means that you should try to duplicate the spacing between and around nodes that is shown in the screenshots, and the width and height of the nodes, and the alignment of the nodes.

Style

A CSS file is included in the skeleton code which provides all the styles used in the assignment. You don’t need to modify the CSS file.

Code

Your solution must satisfy the following code requirements:

  • Your solution must follow the MVC architecture and utilize multiple window display.

  • Your solution must keep the package structure and class names that were provided in the skeleton code.

  • The models must notify the views of changes by correctly applying the JavaFX property patterns and observable lists. Model data that can change must be observable. Model data that never changes need not be observable.

  • The views must be laid out in FXML.

 

This IT Computer Science Assignment Help has been solved by our IT Computer Science Experts at My Uni Paper. Our Assignment Writing Experts are efficient to provide a fresh solution to this question. We are serving more than 10000+ Students in Australia, UK & US by helping them to score HD in their academics. Our Experts are well trained to follow all marking rubrics & referencing style.

Get It Done! Today

Country
Applicable Time Zone is AEST [Sydney, NSW] (GMT+11)
+

Every Assignment. Every Solution. Instantly. Deadline Ahead? Grab Your Sample Now.