Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Toolkit toolkit = Toolkit.getDefaultToolkit();
- Image image = toolkit.getImage("images/diskimage.gif");
- Point pointerPos = new Point(1,1);
- Cursor c = toolkit.createCustomCursor(image , pointerPos, "cursorname");
- myPanel.setCursor (c);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement