User defined cursors

I'm looking for a way to define my own mouse cursors, for example, for using the "Working in Background" windows' cursor (pointer + hourglass)
Phantomas090198Asked:
Who is Participating?
 
mjenkinsConnect With a Mentor Commented:
You can't do this until 1.2. In 1.2 you can set the Cursor to whatever you want by creating:

Toolkit.createCustomCursor(java.awt.Image, java.awt.Point,     java.lang.String)
0
 
Phantomas090198Author Commented:
Edited text of question
0
 
Phantomas090198Author Commented:
Edited text of question
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
Phantomas090198Author Commented:
I need to be completely sure there is no possibility to do this in 1.1

How are you so sure?
0
 
mjenkinsCommented:
Do you know who Amy Fowler is? She works on the AWT team for Sun. If you look through the JavaSoft web site, you'll see her name prominently mentioned in anything to do with the AWT/Swing stuff. I've asked her about this before. Actually, I've been bugging her about it since 1.0.2 came out. Custom cursor support is in 1.2. If you want to use one of the predefined cursors, that's no problem use Component.setCursor().

The only way to affect the Cursor in 1.0.2 or 1.1.x is to make native calls to do so. THat would break portability and invalidate the code's use as an applet (if that is the case). Even as an application, it would be better to use the 1.2beta4 so that your code remains "100% Java" and therefore portable.

The 1.2 Java Plug-in shouldn't be too far behind the 1.2 release, so browser support for 1.2 should be right there.
0
 
Phantomas090198Author Commented:
Thank you very much for your time. Now I am REALLY convinced. You deserve your points.
0
All Courses

From novice to tech pro — start learning today.