Setting Cursors With Java - RealWorld forums

Log-in or register.

Setting Cursors With Java

Using Toolkit.createCustomCursor
Budfudder
on March 10th 2018

I'm trying to use Toolkit.createCustomCursor to set the mouse cursor and it fails when I try to use an .ani or .cur file - if I use a .png or .gif it works fine. Is there a way to set the mouse cursor to a .ani or a .cur using Java?

Page views: 1726       Posts: 1      
Select background
Vista & Win 7 icons
I wish there were...