public static void main(String[] args) { Game game = Game.getInstance(); JFrame window = new JFrame(); window.setSize(WIDTH, HEIGHT); window.setLocation(100, 50); window.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); window.add(game); window.setVisible(true); window.setResizable(false); game.startGame(); }