I\'ve been trying and failing to use the java full screen mode on the primary display of an OSX system. Whatever I\'ve tried I can\'t seem to get rid of the \'apple\' menu
On OS X (10.7 and higher), it is better to use the native fullscreen mode available. You should use:
com.apple.eawt.FullScreenUtilities.setWindowCanFullScreen(window,true);
com.apple.eawt.Application.getApplication().requestToggleFullScreen(window);
where window is the window (JFrame, etc) that you want to take fullscreen