How can I determine exact screen location of mouse pointer after mouse event in an applet?

John Zukowski

The MouseEvent has a getPoint() method to tell you where the event happened relative to the event source's origin. What you need to do is add that to the Point returned by calling getLocationOnScreen() on the event source (possibly the applet).

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






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



About | Sitemap | Contact