be.lassi.ui.main
Class MacMenu
java.lang.Object
be.lassi.ui.main.MacMenu
public class MacMenu
- extends java.lang.Object
Builds the menu that is used when running on Mac OS X. This menu
is added to all frames in the application (each frame needs to have
its own unique copy !!), so that the menu is always shown, independant
of which frame currently has focus.
Method Summary |
javax.swing.JMenuBar |
build()
Builds the application menu bar for use under Mac OS X. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MacMenu
public MacMenu(ShowContext context,
MainFrames frames)
- Constructs a new instance.
- Parameters:
context
- the show contextframes
- the application frames
build
public javax.swing.JMenuBar build()
- Builds the application menu bar for use under Mac OS X.
- Returns:
- the menu bar