JDK-4509045 : java.awt.Choice does not stay in popped up state when clicked in windows
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 1.4.0
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: windows_98,windows_2000,windows_xp
  • CPU: x86
  • Submitted: 2001-10-01
  • Updated: 2001-12-05
  • Resolved: 2001-11-21
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
1.4.0 rc1Fixed
Related Reports
Duplicate :  
Relates :  
Relates :  
Description
The java.awt.Choice does not popup and stay when clicked in windows (I tested it in Win 98, Win 2K and Win XP). It pops up and then goes down again. It does not stay in a popped up state. This has been happening in merlin build 81 and not in earlier builds (I tested against 79 and 80). To select a choice, you have to keep the mouse button pressed and then do a drag to the required choice item. This bug can be seen in the program :


import java.awt.*;
import java.awt.event.*;

public class ChoiceTest {
        public static void main(String [] args){
                Frame f = new Frame("Test Frame");
                Choice c = new Choice();
                c.add("Choice 1");
                c.add("Choice 2");
                c.add("Choice 3");
                c.add("Choice 4");
                c.add("Choice 5");
                c.add("Choice 6");
                c.add("Choice 7");
                c.add("Choice 8");
                c.add("Choice 9");
                f.setLayout(new FlowLayout());
                f.add(c);
                f.setSize(100,100);
                f.addWindowListener(new WindowAdapter(){
                        public void windowClosing(WindowEvent we){
                                System.exit(0);
                        }
                });
                f.setVisible(true);
        }
}

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: merlin-rc1 FIXED IN: merlin-rc1 INTEGRATED IN: merlin-rc1 VERIFIED IN: merlin-rc1
14-06-2004

EVALUATION Commit to Merlin ###@###.### 2001-10-01 Name: osR10079 Date: 10/01/2001 Looks like this problem was introduced by fix for 4391548 (Regression test java/awt/event/MouseEvent/RobotLWTest/RobotLWTest.java Failing). ###@###.### 2 Oct 2001 ======================================================================
11-06-2004