[Logo]
Forums Register Login
creating custom cursor
I tried using a animated gif. but system hangs. any ideas how to solve this
Cheers
Sri
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...
Wink, wink, nudge, nudge, say no more ... https://richsoil.com/cards



All times above are in ranch (not your local) time.
The current ranch time is
Nov 22, 2017 12:55:00.