Forums Register Login
creating custom cursor
I tried using a animated gif. but system hangs. any ideas how to solve this
It looks like it locks up in the sun.awt.windows.WToolkit class... so the problem is probably in some native code. Short answer : you cannot use animated GIFs as cursors.

Long answer : you may be able to fake it by using either -
a.) Multiple cursors and switching them with a thread.
b.) Using a blank cursor and drawing your image at the mouse location on top of everything (glass pane in a Swing app.)

Both of these are just suggestions... I haven't really tried either out...

This thread has been viewed 842 times.

All times above are in ranch (not your local) time.
The current ranch time is
Dec 14, 2018 00:30:22.