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.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!!