Improved logic, broke down in classes, Thread quicker
This commit is contained in:
@@ -3,9 +3,16 @@ package org.lumijiez;
|
||||
import org.lumijiez.gui.MainFrame;
|
||||
|
||||
import javax.swing.*;
|
||||
import java.io.IOException;
|
||||
|
||||
public class Main {
|
||||
public static void main(String[] args) {
|
||||
SwingUtilities.invokeLater(() -> new MainFrame().setVisible(true));
|
||||
SwingUtilities.invokeLater(() -> {
|
||||
try {
|
||||
new MainFrame().setVisible(true);
|
||||
} catch (IOException e) {
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user