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

regression: awt Choice doesn't work

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P3
    • None
    • 6
    • client-libs
    • x86
    • linux

    Description

      Regression: YES
      Package: J2SE
      Version: 6.0 b11
      Locale: de, C

      Description: regression: awt Choice() doesn't work

        The AWT Choice doesn't react on mouse click. It doesn't display the pull-down
        menu after mouse click, just the mouse cursor look changed. You can change
        the choicer value by keyboard.

        It doesn't work on SuSE 9.1 Prof (tested de and C locale), works fine on
        Solaris9 and WindowsXP.


      Bundle tested:
        jdk-6_0-ea-bin-b11-linux-i586-04_nov_2004.bin

      Platform: SuSE 9.1 Prof

      Test Case:

      test.java:
      -----------------------------------
      import java.awt.*;
      import java.applet.*;

      public class test extends Applet {
        private Choice ch;
        public void init() {
          ch = new Choice();
          ch.addItem("a");
          ch.addItem("b");
          ch.addItem("3");
          add(ch);
        }
      }
      -----------------------------------

      test.html:
      -----------------------------------
      <html><body><applet code="test.class" width="100" height="50"></applet></body></html>
      -----------------------------------


      Reproduce Step(s):
        - install jdk 6.0
        - 'javac test.java'
        - 'appletviewer test.html'
        - click on the Choice
        
      Reproducible in previous releases(s)?
        no, 5.0u1 b05 works fine

      ###@###.### 2004-11-11 18:57:40 GMT

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jenda Jan Lána (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: