Capture mouse pointer position...

Hi @ll,I need Your help!How can i capture the mouse pointer position and put it in a JLabel?ThanksBye byehawake
[153 byte] By [hawakea] at [2007-11-26 18:03:11]
# 1

Use a MouseMotionListener

(http://java.sun.com/javase/6/docs/api/java/awt/event/MouseMotionListener.html

http://java.sun.com/docs/books/tutorial/uiswing/events/mousemotionlistener.html).

Or, less likely, use a Robot.

If you have problems with the details, the Swing forum is the best place to post.

pbrockway2a at 2007-7-9 5:33:18 > top of Java-index,Java Essentials,New To Java...