Skip to main content

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 WalshFriend
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 ( to create a new Windows app.

Followed the Java Developer Tutorial ("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.

Previous Topic:Cannot open Eclipse [Java Path Issue]
Next Topic:Different MD5 on different mirrors
Goto Forum:

Current Time: Thu Jan 20 10:08:20 GMT 2022

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

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

Back to the top