removed static Frame in main class

This commit is contained in:
Bjorn Pijnacker 2021-02-23 18:51:46 +01:00
parent c84d9b138a
commit b84ca5deaf
No known key found for this signature in database
GPG Key ID: 68CC60CD9AC50D72
1 changed files with 1 additions and 6 deletions

View File

@ -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);
}