This demo assumes that java.awt.DisplayMode.getBitDepth() returns a strictly negative number when multiple bit depths are supported: https://github.com/sgothel/jogl-demos/blob/master/src/demos/util/ScreenResSelector.java#L66 Actually, the documentation indicates that there is only one possible value in this case: http://docs.oracle.com/javase/7/docs/api/java/awt/DisplayMode.html#getBitDepth() It should use java.awt.DisplayMode.BIT_DEPTH_MULTI: http://docs.oracle.com/javase/7/docs/api/java/awt/DisplayMode.html#BIT_DEPTH_MULTI
pls fix ..
(In reply to Sven Gothel from comment #1) > pls fix .. and java.awt.DisplayMode.BIT_DEPTH_MULTI == -1 well, closing this bug report for this old 2003 demo ;-)