Hide mouse cursor
Ander Ruiz <[email protected]> Wed, 11 Oct 2006 21:26:20 +0200 (CEST)
| Newsgroups | gmane.comp.mozilla.jrex |
|---|---|
| Message-ID | <[email protected]> |
I´m trying to hide the mouse cursor in JRex I tried
this code
int[] pixels = new int[16 * 16];
Image image = Toolkit.getDefaultToolkit().createImage(
new MemoryImageSource(16, 16, pixels, 0, 16));
Cursor transparentCursor =
Toolkit.getDefaultToolkit().createCustomCursor
(image, new Point(0, 0),
"invisiblecursor");
And to setCursor to the browser, this works and hides
the mouse cursor, but when the mouse it appears again.
Any ideas?
Thanks
Ander
______________________________________________
LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y móviles desde 1 céntimo por minuto.
http://es.voice.yahoo.com