This page contains an archived post to the Java Answers Forum made prior to February 25, 2002.
If you wish to participate in discussions, please visit the new
Changing cursor in an Application/Applet
Posted by Raj Kogs on April 17, 2000 at 5:09 PM
I am using Swing 1.0.3 with JDK 1.1.7(Visual Age 2)....
I try to change the cursor to busy cursor when a button is pressed...IT doesn't work for the applet...but does work when it runs as an Application..
if (Context.getProperty("frame") == null)
if (Context.getProperty("frame") != null)
Here Context is a hashtable which has handles of both the applet and the JFrame in which the applet sits when running as an Application.