Prevents OutOfMem (Heap) On my potato laptop.

This commit is contained in:
HeshamTB 2021-01-01 00:47:36 +03:00
parent f4bc812f23
commit 5be16de49f
Signed by: Hesham
GPG Key ID: 74876157D199B09E

View File

@ -57,6 +57,7 @@ public class GUI_History {
frame.revalidate();
frame.setAutoRequestFocus(false);
frame.setVisible(true);
frame.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
streetData = new Object[stdStreet.length][6];