Whats the best way to make the mouse invisible?
Hello!Does anyone know some smart way to make the mouse invisible? I want to make it invisible over a application of mine.
I have found this:
Graphics g = img.getGraphics();
Point hotspot = new Point((int)(16),(int)(16));
Toolkit tk = Toolkit.getDefaultToolkit();
Cursor cursor = tk.createCustomCursor(img,hotspot,"JoshyMag");
jMainFrame.setCursor(cursor);
But is there any otheror better ways to do this?
Best regards
Fredrik
