Project Extension 2

UNIVERSITY OF NEW YORK TIRANA
Komuna e Parisit,Tirana, Albania
Tel.: 00355-(0)4-273056-8 – Fax: 00355-(0)4-273059
Web Site Address: http://www.unyt.edu.al
Object-Oriented Programming with Java
Fall 2016
Project in JAVA
Project Extension 2
Complete the following extensions to the current project:
1. Start the program with a login window where you request username and password for the
user.
2. Once the user is logged in show the following window with this menu:



File
Help (show a simple window with few instructions on how to use the program)
Exit (close the program)
Suggestion: Use JDesktopPane within JFrame
Put in the File menu the following voices:
 New Basket (suggestion: open a new JInternalFrame for a new basket) (BONUS
of 5 points)
 Overall number of baskets for the cashier (show a pop-up with the number of
baskets)
 Total amount of all baskets for the cashier (show a pop-up with the amount of
baskets)
Within the internal frame implement the following:
 New Basket
o Choose Basket type
o Choose item to add
o Print basket info
o Remove Item (show the list of items and let the user choose which to
remove)
Suggestion: use JMenu for first level (New Basket), JMenu for second level (Example: Choose
Basket Type) and JMenuItem for third level (BasketLoyal, BasketGroup, BasketEmployee).