It's not a secret anymore!
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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "creating a custom cursor" Watch "creating a custom cursor" New topic

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

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

GenRocket - Experts at Building Test Data
I agree. Here's the link:
subject: creating a custom cursor
It's not a secret anymore!