diff --git a/src/GUI_History.java b/src/GUI_History.java index 4466b2b..ab5856b 100644 --- a/src/GUI_History.java +++ b/src/GUI_History.java @@ -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];