permaculture playing cards*
The moose likes Swing / AWT / SWT and the fly likes PopupMenu with awt componets! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "PopupMenu with awt componets!" Watch "PopupMenu with awt componets!" New topic
Author

PopupMenu with awt componets!

Mala Gupta
Author
Ranch Hand

Joined: Sep 27, 2002
Posts: 248
    
    9
Can someone help me by providing a simple example of using PopupMenu ONLY with awt components. (No swing please!)
Thankyou.
Kind regards
Mala


Author of Manning's OCA Java SE 7 Programmer I Certification Guide and OCP Java SE 7 Programmer II Certification Guide
Barry Gaunt
Ranch Hand

Joined: Aug 03, 2002
Posts: 7729
There's a PopupMenu being used in this example.
[ June 03, 2003: Message edited by: Barry Gaunt ]

Ask a Meaningful Question and HowToAskQuestionsOnJavaRanch
Getting someone to think and try something out is much more useful than just telling them the answer.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: PopupMenu with awt componets!
 
Similar Threads
Jxam question on Frame and menubar
Pasting into a JTextArea
Popup lists
Is there any other container I can attach a Menu to appart from a Frame?
MenuItem font setting