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:
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
Block a user