title: How do you set your JFame's size to be as big as your computer's screen in java?
body: <p>I wanted to make a game in java, but i don't know if there is a way to set the size of the JFrame to cover the whole computer screen without actually going and setting the size myself to try to match up with your computer screen size.</p>
  
  <p>P.S I do know how to set the size of the JFrame but i don't know how to make it the same size as my computer screen without trial and error my way through by changing to size over and over again. Thanks!!</p>