mirror of
https://github.com/DanilaFe/abacus
synced 2024-12-24 08:12:39 -08:00
Add exit on close.
This commit is contained in:
parent
cc0d1d71d5
commit
2cabb8cf88
|
@ -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
Block a user