Prevents OutOfMem (Heap) On my potato laptop.
This commit is contained in:
parent
f4bc812f23
commit
5be16de49f
@ -57,6 +57,7 @@ public class GUI_History {
|
|||||||
frame.revalidate();
|
frame.revalidate();
|
||||||
frame.setAutoRequestFocus(false);
|
frame.setAutoRequestFocus(false);
|
||||||
frame.setVisible(true);
|
frame.setVisible(true);
|
||||||
|
frame.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
|
||||||
|
|
||||||
|
|
||||||
streetData = new Object[stdStreet.length][6];
|
streetData = new Object[stdStreet.length][6];
|
||||||
|
Loading…
Reference in New Issue
Block a user