package com.nullprogram.chess;

import com.nullprogram.chess.gui.ChessFrame;
import com.nullprogram.chess.boards.StandardBoard;
import com.nullprogram.chess.ai.Minimax;

/**
 * Main class for the Chess game application.
 */
public final class Chess {

    /**
     * Hidden constructor.
     */
    protected Chess() {
    }

    /**
     * The main method of the Chess game application.
     *
     * @param args command line arguments
     */
    public static void main(final String[] args) {
        Board board = new StandardBoard();
        ChessFrame frame = new ChessFrame(board);

        /* Set up a hot-seat game */
        Minimax ai = new Minimax(board, frame.getProgress());
        Game game = new Game(frame, board, frame.getPlayer(), ai);
    }
}

@@ -25,16 +25,47 @@
 chess;%0A%0A
+import javax.swing.UIManager;%0A%0A
 import c
@@ -516,24 +516,222 @@
 g%5B%5D args) %7B%0A
+        try %7B%0A            String lnf = UIManager.getSystemLookAndFeelClassName();%0A            UIManager.setLookAndFeel(lnf);%0A        %7D catch (Exception e) %7B%0A            /* Do nothing. */%0A        %7D%0A%0A
         Boar

Switch to the not-ugly native look-and-feel.