-
Bug
-
Resolution: Fixed
-
P1
-
1.4.1
-
beta
-
x86, sparc
-
linux_redhat_7.2, solaris_7, solaris_8
-
Verified
Build: 11
OS : Sparc and linux
Tests that are failing:
/demo/applets/Cardtest/example1.html
/demo/applets/Drawtest/example1.html
/demo/applets/Graphicstest/example1.html
/demo/applets/Symboltest/example1.html
java -version:
==============
java version "1.4.1-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-beta-b11)
Java HotSpot(TM) Client VM (build 1.4.1-beta-b11, mixed mode)
Here is a Sample Program for Choice.
// Source Code fileName:- ChoiceDemo.java
import java.applet.Applet;
import java.awt.Choice;
public class ChoiceDemo extends Applet {
public void init() {
Choice ch = new Choice();
ch.addItem("6 inches");
ch.addItem("9 inches");
ch.addItem("12 inches");
ch.addItem("16 inches");
ch.addItem("20 inches");
add(ch);
}
}
// Corresponding HTML file... FileName:- example.html
<html>
<body>
<APPLET code=ChoiceDemo.class width="100" height="100">
</APPLET>
</body>
</html>
=========================================
Steps to reproduce the problem.
=========================================
1. Set the path to hopper-Build-11
2. Compile the ChoiceDemo.java
3. run appletviewer example.html using hopper-build-11.
Problem:- The drop down menu is not displayed.
4. In hopper build-10, with the same code mentioned above, the drop down menu is displayed.
5. This is reproducible on solaris sparc and linux .
Note: These test are failing when executed in appletviewer .
OS : Sparc and linux
Tests that are failing:
/demo/applets/Cardtest/example1.html
/demo/applets/Drawtest/example1.html
/demo/applets/Graphicstest/example1.html
/demo/applets/Symboltest/example1.html
java -version:
==============
java version "1.4.1-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-beta-b11)
Java HotSpot(TM) Client VM (build 1.4.1-beta-b11, mixed mode)
Here is a Sample Program for Choice.
// Source Code fileName:- ChoiceDemo.java
import java.applet.Applet;
import java.awt.Choice;
public class ChoiceDemo extends Applet {
public void init() {
Choice ch = new Choice();
ch.addItem("6 inches");
ch.addItem("9 inches");
ch.addItem("12 inches");
ch.addItem("16 inches");
ch.addItem("20 inches");
add(ch);
}
}
// Corresponding HTML file... FileName:- example.html
<html>
<body>
<APPLET code=ChoiceDemo.class width="100" height="100">
</APPLET>
</body>
</html>
=========================================
Steps to reproduce the problem.
=========================================
1. Set the path to hopper-Build-11
2. Compile the ChoiceDemo.java
3. run appletviewer example.html using hopper-build-11.
Problem:- The drop down menu is not displayed.
4. In hopper build-10, with the same code mentioned above, the drop down menu is displayed.
5. This is reproducible on solaris sparc and linux .
Note: These test are failing when executed in appletviewer .
- duplicates
-
JDK-4683792 Choice does not work with applet demo on Solaris and Linux
- Closed
- relates to
-
JDK-4690104 Choice menu is not displayed in hopper build-11 (continued)
- Closed
-
JDK-4684930 SymbolTest font pulldown menu doesn't work on IA8 zh_TW.EUC
- Closed
-
JDK-4509045 java.awt.Choice does not stay in popped up state when clicked in windows
- Closed