I show a PopupMenu from a mouseEntered event. How can I close it on a mouseExited event?

Senthil D. Kumar

In the mouseExited method you can do the following :

public void mouseExited(MouseEvent event)
{
      if ( _popupMenu.isVisible())
                _popupMenu.setVisible(false);
}
0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact