@@ -0,0 +1,2689 @@
+package project.main;%0A%0Aimport java.awt.BorderLayout;%0Aimport java.awt.GridLayout;%0Aimport java.awt.event.ActionEvent;%0Aimport java.awt.event.ActionListener;%0Aimport java.awt.event.ItemEvent;%0Aimport java.awt.event.ItemListener;%0Aimport java.awt.event.KeyEvent;%0Aimport java.io.Console;%0Aimport javax.swing.*;%0Aimport javax.swing.border.TitledBorder;%0Aimport javax.xml.bind.Marshaller.Listener;%0Aimport project.plays.*;%0Aimport project.rooms.*;%0A%0A%0Apublic class Project extends JFrame%7B%0A    %0A    private String adminLog = %22Admin%22;%0A    private String userLog = %22User%22;%0A    private Admin2 admin;%0A    private User user;%0A    %0A    public Project()%7B%0A        Listener listener = new Listener() %7B%7D;%0A        %0A        %0A        setLocationRelativeTo(null);%0A        this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);      %0A        setVisible(true);%0A%0A        JRadioButton adminButton = new JRadioButton(adminLog);%0A        JRadioButton userButton = new JRadioButton(userLog); %0A        ButtonGroup group = new ButtonGroup();%0A        group.add(adminButton);%0A        group.add(userButton); %0A        %0A   %0A        JPanel panel1 = new JPanel();%0A        TitledBorder border = BorderFactory.createTitledBorder(%22 Log in as: %22);%0A        panel1.setBorder(border);%0A        GridLayout layout = new GridLayout(5,10);%0A        panel1.setLayout(layout);%0A%0A        panel1.add(userButton);%0A        panel1.add(adminButton);%0A%0A        JPanel panel2 = new JPanel();%0A        JButton buttonLog = new JButton(%22Log in%22);%0A        buttonLog.addActionListener(new ActionListener() %7B%0A            @Override%0A            public void actionPerformed(ActionEvent e) %7B%0A                if(adminButton.isSelected())%7B%0A                    admin = new Admin2();%0A                %7Delse%7B%0A                    user = new User();%0A                %7D%0A            %7D%0A        %7D);%0A        panel2.add(buttonLog);%0A %0A        %0A        JMenuBar menu=new JMenuBar();%0A        JMenu menuFile=new JMenu(%22File%22);      %0A        JMenuItem menuFileQuit = new JMenuItem(%22Exit%22);%0A        menuFileQuit.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_E,%0A                ActionEvent.ALT_MASK));%0A        menuFileQuit.addActionListener(new ActionListener() %7B%0A            @Override%0A            public void actionPerformed(ActionEvent e) %7B%0A               System.exit(0);%0A            %7D%0A        %7D);%0A        menuFile.add(menuFileQuit);%0A        menu.add(menuFile);%0A        setJMenuBar(menu);        %0A                                %0A         %0A        add(panel1, BorderLayout.PAGE_START);%0A        add(panel2, BorderLayout.PAGE_END);         %0A        pack();%0A              %0A    %7D%0A%0A    %0A    public static void main(String%5B%5D args) %7B%0A        Project start = new Project();%0A    %7D%0A                   %0A%7D%0A

Create project.java