1
0
mirror of https://github.com/DanilaFe/abacus synced 2025-01-12 09:08:09 -08:00

Add exit on close.

This commit is contained in:
Danila Fedorin 2017-07-26 15:23:22 -07:00
parent 78033e93b0
commit a446034a92

View File

@ -120,6 +120,7 @@ public class Window extends JFrame {
history = ""; history = "";
lastOutput = ""; lastOutput = "";
setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
setSize(640, 480); setSize(640, 480);
inputField = new JTextField(); inputField = new JTextField();