View Full Version : Can we load menu items dynamically or disable menu item

25 Apr 2011, 10:52 PM

I have a toolbar with menu and i have tabs.
Below that i am using view port panels.
Is there any way to disable the menu item when clicking on the panel close.
Or load dynamically menu items.

I am loading the viewport panels when clicking on the menu items,
when i click on tyhe menu item i am loading the panel in viewport and disabling that menu item, Now i want to enable the menu item when closing the viewport panel.


26 Apr 2011, 9:00 AM
You can call someMenuItem.setDisabled(true/false), yes?