This commit is contained in:
iryupnik 2020-03-31 11:15:31 +02:00
parent 1cb9c72b32
commit d2646790b3

View File

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