DisplayChange Support (windows)

Hey there,
stupid question, but isn’t changing the display mode supported on Windows XP (SP 2) running Java 1.5.0_06 ?
I’m aksing because the follwing code outputs ‘false’ on my notebook (NIVIDIA QUADRO GeForce FX G0 1400):


final GraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment();
final GraphicsDevice[] gs = ge.getScreenDevices();

for (int i = gs.length-1; i >= 0; i--) {
  final GraphicsDevice gd = gs[i];
  System.out.println(gd.isDisplayChangeSupported());
}

Btw. I’ve installed the latest graphics driver from DELL (not a month old) and DirectX 9.0c, if those matter…
further LWJGL apps like TribalTrouble work well…

got it:
the window has set to fullscreen mode before the query. Seems the behavior has changed, since the posted code was an extract from a pong clone I wrote when Java 1.4 with that API extension was released…

anyhow, I have to re-write my preferences dialog: does anyone knows how to determine if a display mode change is possible, without/before putting a frame into fullscreen?

oh dear…that was not a good API behaviour change =/

To be fair, I have never used the isDisplayChangeSupported method - I’ve assumed that the list of DisplayModes returned will all work - and if they don’t I handle any Exceptions thrown.