Skip to main content

How To Disable Mouse Pointer In Full Screen Mode

1 reply [Last post]
Anonymous

Hi All

How can i disable (hidde) the mouse pointer in the full screen mode?

thx

Michael Kaegi

Tel: +41 41 748 22 00, Fax: +41 41 748 22 01, kam@brainware.ch
Brainware Solutions AG, Sumpfstrasse 15, CH-6300 Zug, www.brainware.ch

[att1.html]
[att1.dat]
[att1.dat]

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Dmitri Trembovetski

Hi Michael,

you can do something like this:
Cursor nullCursor = null;
Toolkit t = Toolkit.getDefaultToolkit();
Dimension d = t.getBestCursorSize(1,1);
if ((d.width|d.height)!=0) {
nullCursor = t.createCustomCursor(
new BufferedImage(d.width,d.height,BufferedImage.TYPE_INT_ARGB),
new Point(0,0),"nullCursor");
}

And then later:
frame.setCursor(nullCursor);

Thanks,
Dmitri

On Mon, Apr 03, 2006 at 12:22:43PM +0200, Michael Kaegi wrote:
> Hi All
>
> How can i disable (hidde) the mouse pointer in the full screen mode?
>
> thx
>
>
>
> Michael Kaegi
>
>
> Tel: +41 41 748 22 00, Fax: +41 41 748 22 01, kam@brainware.ch
> Brainware Solutions AG, Sumpfstrasse 15, CH-6300 Zug, www.brainware.ch
>

===========================================================================
To unsubscribe, send email to listserv@java.sun.com and include in the body
of the message "signoff JAVA2D-INTEREST". For general help, send email to
listserv@java.sun.com and include in the body of the message "help".