can't hide Fullscreen icon on JFrame on OpenJDK7 b218
    Tobias Bley 
    tobi at ultramixer.com
       
    Sat Nov 19 13:04:10 PST 2011
    
    
  
Hi,
In OpenJDK7 I can't hide the fullscreen icon shown in the right corner by default. When I press the fullscreen icon the Java application freezes. So I tried to hide the icon using the FullScreenUtilities-Class or native code. But it's not possible to hide the fullscreen icon in OpenJDK7, in JDK6 it works.
The difference between both JDK versions is the type of the main window:
When I call the following native code, I'll get the following results:
NSWindow *mainWindow = [[NSApplication sharedApplication] mainWindow];
OpenJDK7: AWTWindow
JDK6: CocoaAppWindow
Is it a bug or how can I disable the fullscreen capability?
Best regards,
Tobi
    
    
More information about the macosx-port-dev
mailing list