• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Mouse cursor changes

 
Ranch Hand
Posts: 802
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
ok, is there anyway to tell whether or not a mouse cursor changes or not?

for example:

say the original cursor is a little STRAIGHT sword, and then when over
a certain 'thing' the cursor changes to a little CURVED sword.

is there a way to store the original cursor, and then be able to write an application that can notice when the straight sword turns into a curved one.

p.s

im using the robot class to 'emulate' game play in a mmorpg client.


Justin Fox
 
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Justin,

If you know the structure of the document, or screen layout - ie where the 'things' are then you could just use a mouseMotionListener, and 'listen' for when the mouse moves over the 'things'. I suspect you are after a better solution than that though.... just a thought.

E
 
Justin Fox
Ranch Hand
Posts: 802
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
ok, so would you happen to know off hand the different classes of
mouseMotionListener?

like: mouseMoved,mouseChanged or whatever they might be.

thank you for your advice.

Justin Fox
 
reply
    Bookmark Topic Watch Topic
  • New Topic