Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4684679

Choice menu is not displayed in hopper build-11

XMLWordPrintable

    • 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 .

            mbronsonsunw Mike Bronson (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: