title: How to set JFrame to Full Screen
body: <p>I have been using this code to manually set the screen to my monitors pixel dimensions:</p>
  
  <pre><code>public static void main(String[] args) {
          Game game = new Game("ColoursAndShapes", 1920, 970);
          game.start();
  }
  </code></pre>
  
  <p>I would like to find a way to set the JFrame to fullscreen on any monitor, but considering my "Game" Class contains other methods and variables, I can't remove it from this launcher code.</p>