Commit 725f8c64 authored by 9831111's avatar 9831111 🙂

Add exitButton Action Listener.

parent 3ab238e8
......@@ -67,5 +67,13 @@ public class MainFrame extends JFrame {
items.add(settingButton);
items.add(exitButton);
}
class ExitButtonAction implements ActionListener {
@Override
public void actionPerformed(ActionEvent e) {
dispose();
new LoginFrame();
}
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment