My JMenuBar used to always go to the top of the screen, and now without any code changes it has started appearing in the window. Here's the code I'm using inside my JFrame subclass:
JMenuBar jmb = new JMenuBar();
System.setProperty("apple.laf.useScreenMenuBar","t rue");
setJMenuBar(jmb);
Any ideas?