This commit is contained in:
iryupnik 2020-03-31 13:19:37 +02:00
parent 5484e20bb8
commit 5e92ce66d0

View File

@ -133,7 +133,7 @@ public class WindowOfFreeMove extends JFrame {
setTitle("Ahoj"); setTitle("Ahoj");
setDefaultCloseOperation(EXIT_ON_CLOSE); setDefaultCloseOperation(EXIT_ON_CLOSE);
setBounds(0, 0, CELL_SIZE * WINDOW_WIDTH + CELL_SIZE/2, CELL_SIZE * WINDOW_HEIGHT + CELL_SIZE); setBounds(0, 0, CELL_SIZE * WINDOW_WIDTH, CELL_SIZE * WINDOW_HEIGHT + CELL_SIZE / 2);
setLocationRelativeTo(null); setLocationRelativeTo(null);
setResizable(false); setResizable(false);
setVisible(true); setVisible(true);