Format code

This commit is contained in:
Victor 2014-01-17 18:47:48 +02:00
parent c70ec31da6
commit bfb89267b7
6 changed files with 243 additions and 246 deletions

View File

@ -13,6 +13,7 @@ import javax.swing.JPanel;
* @author aNNiMON * @author aNNiMON
*/ */
public class GameBoard extends JPanel { public class GameBoard extends JPanel {
private static final int CELL_SIZE = 150; private static final int CELL_SIZE = 150;
private static final int OFFSET = 15; private static final int OFFSET = 15;

View File

@ -11,7 +11,6 @@ public class Main extends JFrame {
public static void main(String[] args) { public static void main(String[] args) {
new Main().setVisible(true); new Main().setVisible(true);
} }
public Main() { public Main() {

View File

@ -103,7 +103,6 @@ public class TitlePanel extends JPanel {
}); });
setLayout(null); setLayout(null);
final JButton exitButton = new JButton(); final JButton exitButton = new JButton();
exitButton.setIcon(new ImageIcon(exitImageBW)); exitButton.setIcon(new ImageIcon(exitImageBW));
exitButton.setBorder(null); exitButton.setBorder(null);
@ -177,5 +176,4 @@ public class TitlePanel extends JPanel {
mainFrame.setLocation(moved); mainFrame.setLocation(moved);
} }
} }
} }

View File

@ -21,5 +21,4 @@ public class Util {
} }
return image; return image;
} }
} }