Custom Cursor
I have a semitransparent PNG which i want to use as a cursor. the size is 32x32 but as i assign it as a cursor it behaves as a GIF where only the completely transparent pixels are displayed transparent.
BufferedImage image = javax.imageio.ImageIO.read(new File("cursor.png"));
setCursor(Toolkit.getDefaultToolkit().createCustomCursor(image, new Point(1,1), "cursor"));
do you know how to use the semitranparency??