Results 1 to 2 of 2
- 09-15-2008, 10:35 AM #1
Member
- Join Date
- Sep 2008
- Posts
- 2
- Rep Power
- 0
Checking toggle state of a menu item
Hi,
I'm trying to build an app with a menu. Some menu items I would like to enable/disable functionality. I notice that by default when I add a command to a menu I can set the style to to "toggle".
This gives me the feature I want -- a nice tickbox that appears/dissapears.
My question is this: how do I check the state of this control?
- 09-22-2008, 02:42 PM #2
Member
- Join Date
- Sep 2008
- Posts
- 2
- Rep Power
- 0
Similar Threads
-
Fill a menu dynamically when menu is shown
By Java Tip in forum SWTReplies: 0Last Post: 07-07-2008, 04:47 PM -
React to menu action and checkbox menu
By Java Tip in forum javax.swingReplies: 0Last Post: 06-27-2008, 07:50 PM -
how to create Popup Menu with Sub Menu while right-clicking the JTree Node??
By Kabiraa in forum AWT / SwingReplies: 7Last Post: 05-09-2008, 07:54 AM -
Concurrent Hierarchical State Machine 4.3
By levent in forum Java SoftwareReplies: 0Last Post: 08-03-2007, 04:44 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks