Originally posted by cogat:
<STRONG>I want to run a Java application full-screen with no menubar - can't find a way to do this in OSX - anyone have an idea? BTW I'm using GL4Java and the app is running on a 933Mhz G4 with GeForce4MX.</STRONG>
I know how to do this in Cocoa. I'm not quite sure how this relates to Java, although I know OS X does have some fancy features incorporating the two. Heres how you do it (quite easily) in Cocoa.
By creating a subclass of NSWindow, you can use a method (not sure of the exact name--I'm at work) called setLevel: or setWindowLevel: or something like that to set the windows placement level on the screen to NSScreenSaverLevel (again--not sure exact name), which appears above everything, Dock, Menu Bar, everything.
I believe the setLevel: method needs to be used very early on in the window's life, possibly before it is displayed for the first time, so I'm not sure how or when to call it from Java.
- Ross