JMenu
s cannot be added to more than one frame. Since on MacOS there's one global menu for all the application windows we need to 'duplicate' a menu prototype. Synchronizing all menus is accomplished by using the same action objects for all menu copies. However when items are added or removed, synchronization needs to be performed manually. That's the point about this class. There can be only one instance of MenuFactory
for the application, and that will be created by the Main
class.
@author Hanns Holger Rutz
@version 0.71, 11-Jun-08
@see de.sciss.eisenkraut.Main#menuFactory
|
|