A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
REST with Spring (video course)
this week in the
Swing / AWT / SWT
Menu Item Event
Joined: Jan 07, 2009
Sep 19, 2009 11:41:48
I am using Menu in swing. And I have menu item called search, once i click that new window should open. What should I do???
Search find = new Search(); // name of the class that have search stuff find.setVisible(true);
i wrote the above code actionPerformed();
Even then it is not working. Help me out with this
Author and ninkuma
Joined: Jan 10, 2002
Sep 19, 2009 11:46:01
"vinoth ar", please check your private messages for an important administrative matter.
Asking smart questions
Books by Bear
Joined: Oct 27, 2005
Sep 19, 2009 12:15:11
What's the code for the actionPerformed method? Are you sure you attached that ActionListener / Action?
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions
How To Answer Questions
I agree. Here's the link:
subject: Menu Item Event
FBN: Design Help Required for GUI
Labels in Struts-Layout
Question from NickyEng
Link internal frame to menu item
In what way can I avoid disapperaing the item of JPopupMenu?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015