13. februar 2004 - 08:52Der er
2 kommentarer og 1 løsning
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);
BufferedImage bi = new BufferedImage(1,1, BufferedImage.TYPE_INT_ARGB); Cursor invisible = Toolkit.getDefaultToolkit().createCustomCursor(bi, new Point(1,1),"");
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.