@@ -0,0 +1,1533 @@
+package Project.java;%0A%0Aimport java.awt.BorderLayout;%0Aimport java.awt.Dimension;%0Aimport java.awt.FlowLayout;%0Aimport java.awt.event.ActionEvent;%0Aimport java.awt.event.ActionListener;%0A%0Aimport javax.swing.DefaultListModel;%0Aimport javax.swing.JButton;%0Aimport javax.swing.JComboBox;%0Aimport javax.swing.JFrame;%0Aimport javax.swing.JList;%0Aimport javax.swing.JScrollPane;%0Aimport javax.swing.ListSelectionModel;%0A%0Apublic class Login extends JFrame implements ActionListener %7B%0A%0A%09%0A%09private JButton login;%0A%09private String%5B%5D description = %7B %22employee%22, %22manager%22 %7D;%0A%09private mainFrame manager;%0A%09private mainFrame cashier;%0A%09private JComboBox loginOption = new JComboBox();%0A%09%0A%09public Login(String title) %7B%0A%09%09super(title);%0A%09%09setSize(200,150);%0A%09%09setResizable(false);%0A%09%09setDefaultCloseOperation(EXIT_ON_CLOSE);%0A%09%09setLayout(new BorderLayout());%0A%09%09%0A%0A%09%09for (int i = 0; i %3C 2; i++)%0A%09%09%09loginOption.addItem(description%5Bi%5D);%0A%09%09add(loginOption);%0A%09%09%0A%09%09login = new JButton(%22Login%22);%0A%09%09login.addActionListener( new ActionListener()%7B%0A%09%09%09public void actionPerformed(ActionEvent e) %7B%0A%09%09%09%09if( loginOption.getSelectedIndex() == 0)%7B%0A%09%09%09%09%09System.out.println(loginOption.getSelectedIndex());%0A%09%09%09%09%09cashier = new CashierFrame(%22Cashier Frame%22 );%0A%09%09%09%09%09cashier.setVisible(true);%0A%09%09%09%09%09//CashierFrame.setVisible(true);%0A%09%09%09%09%7D%0A%09%09%09%09else%7B%0A%09%09%09%09%09 manager = new ManagerFrame(%22Manager Frame%22 );%0A%09%09%09%09%09 manager.setVisible(true);%0A%09%09%09%09%7D%0A%09%09%09%7D%0A%09%09%7D);%0A%09%09add(login, BorderLayout.SOUTH);%0A%09%7D%0A%0A%09@Override%0A%09public void actionPerformed(ActionEvent arg0) %7B%0A%09%09// TODO Auto-generated method stub%0A%09%09%0A%09%7D%09%0A%7D%0A

Create Login.java