This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes creating a custom cursor Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "creating a custom cursor" Watch "creating a custom cursor" New topic
Author

creating a custom cursor

Tal Tal
Ranch Hand

Joined: Dec 10, 2003
Posts: 40
how can i create a cursor other than the ones java supply(hand,resizable),
for example creating a cursor from an image?
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

You can do something like (I haven't tested the syntax..



GenRocket - Experts at Building Test Data
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: creating a custom cursor
 
Similar Threads
Personalized Cursor
Cursor and Hibernate
mouse curser
Count query in oracle cursors
WA #1.....word association