Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » JMenuItem Selection Event Handler(Double-click to create selection event handler doesn't work?)
JMenuItem Selection Event Handler [message #909151] Thu, 06 September 2012 16:13
Jim Walsh is currently offline Jim Walsh
Messages: 6
Registered: September 2012
Junior Member
I'm new to Eclipse, java, WindowBuilder, etc.

Windows 7 32-bit; Eclipse: Juno; WindowBuilder 1.5

I followed the Eclipse Window Builder tutorial (developers.google.com/java-dev-tools/wbpro/quick_start) to create a new Windows app.

Followed the Java Developer Tutorial ("Menu Editing" - developers.google.com/java-dev-tools/wbpro/features/menu_editing) to create a main menu for this app.

Added a menu bar (JMenuBar), menu (JMenu), and menu item (JMenuItem), all using the design view. Source view showed the correct code.

Now, I need a handler to handle the user's selection of the JMenuItem. The menu tutorial says "Adding a selection event handler for the menu item is also easy. Simply double-click a menu item and a selection event handler will be created for you". Alas, double-clicking my JMenuItem in the design view does nothing.

Help?
Thanks,
Jim
Previous Topic:Cannot open Eclipse [Java Path Issue]
Next Topic:Different MD5 on different mirrors
Goto Forum:
  


Current Time: Sat Sep 20 18:23:24 GMT 2014

Powered by FUDForum. Page generated in 0.02662 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software