How do you create custom cursors with the Java 2 platform?

John Zukowski

The createCustomCursor() method of the Toolkit class provides for the ability to create a cursor out of an Image.

When creating custom cursors, be sure to take advantage of the hints available from the getBestCursorSize() and getMaximumCursorColors() methods.

0 Comments  (click to add your comment)
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.