(Apple Problem ID#: 2791823)
The setEnabled(false) method should render a Choice component non-functional. This does not occur in OS 10.1 (Internet Explorer or Applet Launcher). This applet works fine on OS 9 and on Windows.
If you have any insights, workarounds or comments about this test page please contact Mickey Segal. A listing of many Macintosh Java bugs with demonstration applets is at this link, including information on how to add any necessary Java plugins.
The code for this applet is available from this link and displayed below
import java.awt.*;
import java.applet.*;
public class PerkyChoice extends Applet {
public void init()
{
Choice choice = new Choice();
for (int i=0; i<3; i++) choice.addItem(String.valueOf(i) + " ");
add(choice);
choice.setEnabled(false);
}
} // END OF Class PerkyChoice