return null;
}
public Set<DisplayMode> getDisplayModes() {
ScreenMode currentMode = getScreen().getCurrentScreenMode();
Screen screen = getScreen();
Set<DisplayMode> modes = new HashSet<DisplayMode>();
for(ScreenMode mode :screen.getScreenModes()) {
if (mode.getRotation() == currentMode.getRotation()) {
modes.add(new ch.blackspirit.graphics.jogl2.DisplayMode(mode.getRotatedWidth(), mode.getRotatedHeight(),
mode.getMonitorMode().getSurfaceSize().getBitsPerPixel(), mode.getMonitorMode().getRefreshRate()));
}
}