Hiding mouse pointer with full screen ?

Hi,

My program is running full screen, using a Panel in a Frame and the method GraphicsDevice.setFullScreenWindow(). I'd like to hide the mouse pointer, and I was thinking I could simply create a 1x1 transparent image and set it as default pointer, but is there a clean way to hide the mouse pointer ? I was looking for a method like Container.disableMouse() or Container.hideMouse() but can't find anything like that.

Any help would be appreciated.

[470 byte] By [Chepsa] at [2007-9-28 11:19:45]
# 1
try this:BufferedImage cur = new BufferedImage(1, 1, BufferedImage.TYPE_4BYTE_ABGR);setCursor(getToolkit().createCustomCursor(cur,new Point(0,0),""));
Woogleya at 2007-7-12 1:49:44 > top of Java-index,Other Topics,Java Game Development...
# 2
by the way you need to import java.awt.image.* to use BufferedImage
Woogleya at 2007-7-12 1:49:44 > top of Java-index,Other Topics,Java Game Development...
# 3
Ok that worked thanks.
Chepsa at 2007-7-12 1:49:44 > top of Java-index,Other Topics,Java Game Development...