Looking around this forum and Google, I see a lot of examples of using:
for setting the JMenuBar in the Mac Menu in the upper left. The only problem is that it doesn't really work in a multi-JFrame environment, since there's a different menu bar for each JFrame.
Is there a way to make a universal menu bar that stays visible and has the same functionality over every instance of JFrame? Or do I have to basically duplicate my JMenu code over every single class that extends JFrame?
Code:
System.setProperty("apple.laf.useScreenMenuBar", "true");
for setting the JMenuBar in the Mac Menu in the upper left. The only problem is that it doesn't really work in a multi-JFrame environment, since there's a different menu bar for each JFrame.
Is there a way to make a universal menu bar that stays visible and has the same functionality over every instance of JFrame? Or do I have to basically duplicate my JMenu code over every single class that extends JFrame?