Improved logic, broke down in classes, Thread quicker

This commit is contained in:
2023-10-16 22:03:31 +03:00
parent 985934f90c
commit 4ecd73d4ed
6 changed files with 179 additions and 57 deletions

View File

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