Reputation: 12959
How do i change cursor to my image "picture_one.jpg" in Java?
Replacement for constructor new Cursor(Image i)
which doesn't exist woudl be enough.
Thanks.
Upvotes: 1
Views: 760
Reputation: 51082
Have you looked at java.awt.Toolkit's createCustomCursor(Image cursor, Point hotSpot, String name) method?
Upvotes: 2