I have been using this code to manually set the screen to my monitors pixel dimensions:
public static void main(String[] args) {
Game game = new Game("ColoursAndShapes", 1920, 970);
game.start();
}
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.