From: Snowdog <sn...@ga...> - 2006-04-05 18:15:35
|
I updated the MenuManager for you. I noticed however while I tested it that we'll have to add some sort of callback or observer object to the GUI so that it can repaint itself when the MenuManager changes the JMenuBar contents. Currently menu's added/removed at runtime don't show up until the JMenuBar's parent frame is repainted. > NeoSkye wrote: >> Hi, working on the GUI I realized that we may want a >> "Window" Menu, which I can handle just fine through >> the MenuManager, except for one thing. The "Window" >> menu (which may evolve into a "Module" menu >> someday...it aspires to greatness) needs to be able to >> remove MenuItems from a Menu, and the current >> MenuManager gives no way to do this. |