English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Not the mouse events.

2006-11-07 03:39:10 · 3 answers · asked by Anonymous in Computers & Internet Programming & Design

3 answers

Use the java.awt.Robot class. It has the moveMouse() method. Handy for automated testing, self-running demonstrations, etc.

2006-11-08 11:42:59 · answer #1 · answered by vincentgl 5 · 0 0

If you are talking about moving the cursor yourself, there's no simple way to do that.

However, if you just want to change the shape of the cursor, you can use the setCursor method of the Component class. See the link below.

2006-11-07 11:43:24 · answer #2 · answered by PM 3 · 0 0

style="cursor:help"

2006-11-07 12:29:38 · answer #3 · answered by Hollie H 3 · 0 0

fedest.com, questions and answers