In JAVA, changing resolution with setDisplayMode for fullscreen application
问题 I am a beginner int the JAVA language and is trying to learn how to create full screen applications. I am trying to create a simple application where when run, displays a full screen with blue back ground and a simple line of text in the center of the screen( it starts at position 400x300). The resolution of the application is set to 800x600. I am running the code on a MacbookAir, running OSX Lion, with a screen resolution of 1440x900. The problem is, despite getting a blue background as I