‘Code’:
package com.whitehexagon.gameclient;
import java.awt.GraphicsEnvironment;
public class TestFullscreen {
public static void main(String[] args) {
System.out.println("fullscreen available? "+GraphicsEnvironment.getLocalGraphicsEnvironment().getDefaultScreenDevice().isFullScreenSupported());
}
}
Command line: (just the flag value changed)
%JAVA_HOME%\bin\java -Dsun.java2d.noddraw=true -Dsun.awt.noerasebackground=true -classpath build\classes com.whitehexagon.gameclient.TestFullscreen
%JAVA_HOME%\bin\java -Dsun.java2d.noddraw=false -Dsun.awt.noerasebackground=true -classpath build\classes com.whitehexagon.gameclient.TestFullscreen
Results
W:\prj\WhiteHexagon>F:\jdk1.5.0_06\bin\java -Dsun.java2d.noddraw=true -Dsun.awt.noerasebackground=true -classpath build\classes com.whitehexagon.gamec
lient.TestFullscreen
fullscreen available? false
W:\prj\WhiteHexagon>F:\jdk1.5.0_06\bin\java -Dsun.java2d.noddraw=false -Dsun.awt.noerasebackground=true -classpath build\classes com.whitehexagon.game
client.TestFullscreen
fullscreen available? true
I don’t have a 1.6 here, but maybe I can try that on another machine later today. Although I don’t really want to make the spec for the game 1.6 when its still beta.
Thanks for looking into this!
Peter
GL_RENDERER=GeForce 6200/AGP/SSE2
Nvidia driver - 91.31_winxp2kmce_english_whql.exe
W2K SP4
JOGL nightly - 2006-08-16
1.5.0_06-b05