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

REGRESSION: Selecting item in JComboBox with mouse doesn't work for Win2K

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 1.4.2
    • client-libs
    • x86
    • windows_2000

      To reproduce the problem:
      * run SwingSet
      * change to JComboBox tab
      * change to Windows Look&Feel

      Clicking on a JComboBox to pop it down, and then clicking on a selection no longer causes the picture to change. Pressing the mouse to pop open a JComboBox, dragging to a new selection, and releasing the mouse still works. Using the arrow keys to change the selection still works. This bug does not occur with the Java Look&Feel.

      This is change in behavior since 1.4.1.

      ---

      java version "1.4.2-beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-beta-b02)
      Java HotSpot(TM) Client VM (build 1.4.2-beta-b02, mixed mode)

      This bug exists on 1.4.2-b02 and not in the swing-mantis (team integration)
      workspace. The last time Swing integrated was Aug 23rd so it was probably introduced by the 2D integration or AWT integration that followed us.

      The following batch file placed in the %JAVA_HOME%\demo\jfc\SwingSet2 directory is a more convenient way of seeing the problem (all one line).

      --- combobug.bat ---
      %JAVA_HOME%\bin\java -showversion -cp SwingSet2.jar -Dswing.defaultlaf=com.sun.java.swing.plaf.windows.WindowsLookAndFeel ComboBoxDemo
      --- end combobug.bat

      ###@###.### 2002-09-20

            dmikhalksunw Denis Mikhalkin (Inactive)
            bchristi Brent Christian
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: