December 08, 2005

Published December 08, 2005 by

Create your own cursor for Java application

You can create cursor for your application using setCursor(Cursor) method of Component class. You can use some built in variables (HAND_CURSOR, TEXT_CURSOR, MOVE_CURSOR etc.) to create the Cursor object. But to create a customized cursor you need to write few lines of Java code. Suppose you have an image file named myCursorImage.gif and you want this image to be used as the cursor...
Read More