File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Elasticsearch in Action this week in the Big Data 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: 15302
    
    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