Name: rm29839 Date: 11/18/97
Executing the following code demonstrates the
problem. The cursor is set to the stop watch
(WAIT_CURSOR) for the applet and for the
components other than the text field. The
textfield cursor should change as well.
import java.applet.*;
import java.awt.*;
public class CursorBug extends Applet {
public void init() {
TextField tf;
add(tf = new TextField(20));
add(new Checkbox("Debug", true));
add(new Button("Submit"));
Cursor busy = Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR);
setCursor(busy);
}
}
(Review ID: 20009)
======================================================================