We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b21150 commit 41c10beCopy full SHA for 41c10be
Sudoku-Solver/src/sudoku/gui/Main.java
Sudoku-Solver/src/sudoku/gui/SudokuGameStarter.java
@@ -0,0 +1,27 @@
1
+package sudoku.gui;
2
+
3
+import javax.swing.SwingUtilities;
4
5
+/**
6
+ * This is the main-class of the sudoku game that starts the GUI.
7
+ */
8
+public final class SudokuGameStarter {
9
10
+ /**
11
+ * Private constructor to prevent instantiation.
12
13
+ private SudokuGameStarter() {
14
+ throw new AssertionError("This class should not be instantiated.");
15
+ }
16
17
18
+ * The main method that starts the game by creating a new
19
+ * {@link SudokuFrame}.
20
+ *
21
+ * @param args The arguments are ignored.
22
23
+ public static void main(String[] args) {
24
+ SwingUtilities.invokeLater(SudokuFrame::new);
25
26
27
+}
0 commit comments