JDK-6194100 : regression: awt Choice doesn't work
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 6
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: linux
  • CPU: x86
  • Submitted: 2004-11-11
  • Updated: 2010-09-29
  • Resolved: 2004-11-12
Related Reports
Duplicate :  
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

Comments
EVALUATION See 6191341 ###@###.### 2004-11-12 07:45:20 GMT
12-11-2004

WORK AROUND use keyboard ###@###.### 2004-11-11 18:57:41 GMT
11-11-2004