|
Java™ by example!
|
|
|
How do I get a list of all display modes?
From JDK1.4, you can use the class DisplayMode. Get the current GraphicsDevice, and call the method getDisplayModes. Main.java:
outputs on my machine:
Further Information
Author of answer: Joris Van den Bogaert
Comments to this answer are only viewable by members. Login or become a member!
|
|
|
|
|