src/main/java/de/uapcore/sudoku/Sudoku.java

changeset 10
369903afbb29
parent 9
576e7a2861ae
child 15
fea6eaa0d520
equal deleted inserted replaced
9:576e7a2861ae 10:369903afbb29
28 28
29 import javax.swing.*; 29 import javax.swing.*;
30 import java.awt.*; 30 import java.awt.*;
31 31
32 /** 32 /**
33 * 33 * Main class of the application.
34 * @author mike
35 */ 34 */
36 public final class Sudoku extends JFrame { 35 public final class Sudoku extends JFrame {
37 36
37 /**
38 * Constructs the Sudoku main window.
39 */
38 public Sudoku() { 40 public Sudoku() {
39 super("Sudoku"); 41 super("Sudoku");
40 42
41 Field f = new Field(); 43 Field f = new Field();
42 ActionHandler h = new ActionHandler(f); 44 ActionHandler h = new ActionHandler(f);
59 setLocationByPlatform(true); 61 setLocationByPlatform(true);
60 setDefaultCloseOperation(EXIT_ON_CLOSE); 62 setDefaultCloseOperation(EXIT_ON_CLOSE);
61 } 63 }
62 64
63 /** 65 /**
66 * Main method starting the Sudoku solver.
67 *
64 * @param args the command line arguments 68 * @param args the command line arguments
65 */ 69 */
66 public static void main(String[] args) { 70 public static void main(String[] args) {
67 new Sudoku().setVisible(true); 71 new Sudoku().setVisible(true);
68 } 72 }

mercurial