From b84ca5deafd282ad40057e679c71d626efdfb466 Mon Sep 17 00:00:00 2001 From: Bjorn Pijnacker Date: Tue, 23 Feb 2021 18:51:46 +0100 Subject: [PATCH] removed static Frame in main class --- .../nl/andrewlalis/erme/EntityRelationMappingEditor.java | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/main/java/nl/andrewlalis/erme/EntityRelationMappingEditor.java b/src/main/java/nl/andrewlalis/erme/EntityRelationMappingEditor.java index 48a8243..b9cafa6 100644 --- a/src/main/java/nl/andrewlalis/erme/EntityRelationMappingEditor.java +++ b/src/main/java/nl/andrewlalis/erme/EntityRelationMappingEditor.java @@ -8,11 +8,6 @@ import java.nio.charset.StandardCharsets; public class EntityRelationMappingEditor { public static final String VERSION = "1.3.1"; - private static EditorFrame frame; - - public static EditorFrame getFrame() { - return frame; - } public static void main(String[] args) { if (!FlatLightLaf.install()) { @@ -22,7 +17,7 @@ public class EntityRelationMappingEditor { if (includeAdminActions) { System.out.println("Admin actions have been enabled."); } - frame = new EditorFrame(includeAdminActions); + EditorFrame frame = new EditorFrame(includeAdminActions); frame.setVisible(true); }