Format code
This commit is contained in:
parent
c70ec31da6
commit
bfb89267b7
@ -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;
|
||||||
|
|
||||||
|
@ -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() {
|
||||||
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
@ -21,5 +21,4 @@ public class Util {
|
|||||||
}
|
}
|
||||||
return image;
|
return image;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user