Andrew, We did it for out app. In fact we made the cursor disappear for our touchscreen app by using a 1 pixel transparent GIF image. Here is some code to get you going.
Cursor c = Toolkit.getDefaultToolkit().createCustomCursor(cursorImage, new Point(hotpoint_X, hotpoint_Y)); yourFrame.setCursor(c); David Andrew Mercer wrote: >Does anyone know whether it is possible to create your own cursors in Java? I need to >be able to set its height and width and also have unique text within its boundary. > >It will be used when adding numbers to tiff images. It would also be nice if the >unique text can alter each time a new image is loaded so that the text is relevant to >the image being viewed. > >Thanks > >Andrew Mercer > >=========================================================================== >To unsubscribe, send email to [EMAIL PROTECTED] and include in the body >of the message "signoff JAVA2D-INTEREST". For general help, send email to >[EMAIL PROTECTED] and include in the body of the message "help". > =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA2D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
