dcsimg

How do I properly use MouseEvent.isPopupTrigger()in Swing, when the look and feel could be something other than native?

John Zukowski

With Java 2, version 1.2, literally you can't. The Java 2, version 1.3 release moves this into the UI component, where its now jPopupMenu.isPopupTrigger(mouseEvent).

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


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

 

 

About | Sitemap | Contact
×
We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.