-
Bug
-
Resolution: Fixed
-
P4
-
1.2.0, 1.2.2, 1.3.0
-
kestrel
-
generic, x86
-
generic, linux, windows_nt
-
Verified
STEPS: JDK1.2 FCS "E", Solaris/Win32
1. Run following program,
-----
import com.sun.java.swing.*;
import java.awt.*;
import java.awt.event.*;
public class JComboBoxTest extends JFrame {
public JComboBoxTest () {
super("Test");
JComboBox cb = new JComboBox();
cb.addItem("Item 1");
cb.addItem("Item 1");
cb.addItem("Item 2");
cb.addItem("Item 3");
cb.addItem("Item 4");
cb.addItem("Item 1");
getContentPane().add(cb);
pack();
show();
}
public static void main(String[] args) {
new JComboBoxTest();
}
}
-----
2. Select "Item 2".
-- Popup ComboBox, navigate via keyboard up/down key --
3. Push "UP" arrow key to select "Item 1". Once selection moved upto item that has two or more same name, keyboard navigation does no longer works.
-- Also, by mouse, cannot select second or last "Item 1".
koushi.takahashi@japan 1998-08-11
- duplicates
-
JDK-4303855 up/down arrow keys do not work properly for JComboBox
-
- Closed
-
-
JDK-4421314 JOptionPane.showInputDialog gets wrong choice with dup. text
-
- Closed
-