dcsimg
Using JDK 1.1, how can I get a window to act like a popup menu and close when the user clicks on an object not in the window.
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   David_Smaltz
Posted On:   Thursday, November 15, 2001 08:18 AM

I have created a custom menu displayed in a window. I can get it to display with setVisible, but I cannot get it to act like the popup menu and setVisible(false) when the mouse is pressed outside the window. I can determine non focus, but I cannot requestFocus. Any suggestions?

About | Sitemap | Contact