[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...
They weren't very bright, but they were very, very big. Ad contrast:
ScroogeXHTML 7.1 - RTF to HTML5 / XHTML converter
https://coderanch.com/t/690611/ScroogeXHTML-RTF-HTML-XHTML-converter


This thread has been viewed 771 times.

All times above are in ranch (not your local) time.
The current ranch time is
Feb 20, 2018 16:43:43.