This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes MenuItem eventhandling Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "MenuItem eventhandling" Watch "MenuItem eventhandling" New topic

MenuItem eventhandling

pankaj saxena
Ranch Hand

Joined: Nov 21, 2009
Posts: 46
i have two menuitems : 1. Fill the form and 2. search the records.
Problem: i can't open the form when i click on first menuitem.
same problem is with second menuitem.

please provide me some links or your suggestions to solve this.

Rob Camick
Ranch Hand

Joined: Jun 13, 2009
Posts: 2180
Start by reading the Swing tutorial for some Swing basics. Maybe the sections on "How to Use Menu Items" would be the place to start.
Bobby Smallman
Ranch Hand

Joined: Sep 09, 2010
Posts: 107
The Swing Tutorial Rob suggested is a great place to get some basics of Swing, after you go through the tutorials if you are still having difficulty, feel free to post the specific code which is troubling you.

Everyday in every way, we get a little better.
Rob Spoor

Joined: Oct 27, 2005
Posts: 19685

Moving to our GUI forum.

How To Ask Questions How To Answer Questions
I agree. Here's the link:
subject: MenuItem eventhandling