[quote]just win2k, service pack 3 (nothing else), version: 41.09 (i thought i was using the certified ones but i guess these arent) detonator for a geforce2mx
im just doing
GraphicsEnvironment.getLocalGraphicsEnvironment().getDefaultScreenDevice().isDisplayChangeSupported()
not exactly that of course, but that’s it in a nutshell, all defaults.
[/quote]
My understanding is that displayChangeSupported() returns false until you are in fullscreen mode, only then will it tell you whether you can change the resolution or not.
Incidentally, IMHO this is abit of a flaw in the api, for example :-
You want to write an app. that runs in a specific screen area. e.g. 800x600.
Also, if possible, you would like to use fullscreen, otherwise use an 800x600 window.
With the present api, to achieve this, you have to do the following…
- switch to fullscreen
- check if displaymode change is supported
- if not, switch back to windowed mode
it would be much nicer, if we could have a DisplayCapabilities type mechanism
(where by you request a displaymode that fits a certain set of requirements e.g. resolution, bitdepth, fullscreen, HW-accelerated etc etc)