Hiding the mouse pointer
0 posts in topic
Flat View  Flat View

Posted By:   Christopher_Schultz
Posted On:   Monday, August 20, 2001 01:26 PM

Does anyone know of a good way to hide the mouse cursor for a window?

I've performed the following hack:

this.setCursor(Toolkit.getDefaultToolkit().createCustomCursor(new BufferedImage(1, 1, BufferedImage.TYPE_BYTE_BINARY), new Point(0,0), "Invisible"));

but there's got to be a Better Way™

Any ideas?

About | Sitemap | Contact