• UI
o C
ustomerWindow.java (Arman Mokammel)
o Login_Screen.java (Arman Mokammel)
o MainWindow.java (Arman Mokammel)
o OrderSystem (Sub-Package)
Panel_A.java (Arman Mokammel)
Panel_B.java (Arman Mokammel)
Panel_C.java (Arman Mokammel)
Panel_D.java (Arman Mokammel)
Panel_E.java (Arman Mokammel)
o Order_Screen.java (Arman Mokammel)
o Panels (Sub-Package)
Account_Panel.java (Sabrina Sabnam Farhana)
Customer_Panel.java (Soraiyah Samantha)
Employee_Panel.java (Soraiyah Samantha)
Item_Panel.java (Soraiyah Samantha)
Voucher_Panel.java (Sabrina Sabnam Farhana)
Welcome_Panel.java (Arman Mokammel)
o SaleHistory_Window.java (Arman Mokammel)
o Settings_Screen.java (Arman Mokammel)
o SuspendedOrders_Screen.java (Arman Mokammel)
• Utilities
o Utility.java (Arman Mokammel)
o Receipt.java (Arman Mokammel)
O
ur project uses the Java Swing framework for our UI. We have extensively used JFrame for our major
windows, JDialog for our sub-windows (to edit details etc.), JButton, JTextField, JComboBox, JTable (for
displaying information in tabular form) and JScrollPane (for making our table and contents of some panels
to be scrollable). We also made some custom components that derive from the base Swing Components.
Some of those are :
• JButtonT1 – Custom JButton with an image and scale effect.
• SearchableComboBox – Custom ComboBox with it contents searchable while typing into it.
• EditRemove_Pane – Custom Panel which contains edit and remove buttons for use in our tables t
o
edi
t or remove entry.
• WrapLayout – This layout is similar to FlowLayout but more flexible and adapts automatically to its
container size and positions elements accordingly.
We i
ncluded several files which all end with the extension “.ASL” to identify as files used by the program to
store data. The files used are as follows:
• Accounts.ASL – To store data of all user/operator accounts.
• Customers.ASL – To store data of all customers.
• Data.ASL – To store our last order number and the total number of orders taken in the current day.
• Discount-Vouchers.ASL – To store data about all the discount vouchers.
• Employees.ASL – To store data of all employees.
• Item-Categories.ASL – To store data of all Item Categories.
• Menu-Items.ASL – To store data of all Items and linked to Categories.
• Payment-Methods.ASL – To store data of all the payments methods used by the order system.
• .tx
t files – To store data about all orders in digital form.
• .pdf files – To store receipts of completed orders.