mirror of https://github.com/DanilaFe/abacus
Add exit on close.
This commit is contained in:
parent
78033e93b0
commit
a446034a92
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue