Questions tagged [displaymode]

18 questions
0
votes
2 answers

Swing MacBook Invalid Display mode

Display mode settings : fullscreen.displaywidth =(1440,900,16,0) Current display resolution: 1440*900 scaled. Code : fullscreen.pixelperframe = ((fullscreen.speed - 10) > 1) ? (fullscreen.speed-10) : 1; DisplayMode dmode = new…
user2936008
  • 1,317
  • 5
  • 19
  • 42
0
votes
1 answer

Can DisplayMode set resolution to Screen Resolution?

So I am using the DisplayMode to set my resolution for a fullscreen as follows DisplayMode dm = new DisplayMode(1440,900,64, DisplayMode.REFRESH_RATE_UNKNOWN); My question is, Is there anything that I can put in place of 1440, 900 to get the app…
TAM
  • 347
  • 4
  • 9
  • 20
0
votes
1 answer

Will changes made to GraphicsDevice reset after quitting application?

In Java, when you change the display mode: GraphicsEnvironment gd = GraphicsEnvironment.getLocalGraphicsEnvironment(); GraphicsDevice dev = gd.getDefaultScreenDevice(); int w = 800; int h = 600; int depth =…
VisualGhost
  • 49
  • 1
  • 1
  • 7
1
2