-
Bug
-
Resolution: Duplicate
-
P2
-
None
-
1.3.0, 1.4.0
-
x86, sparc
-
generic, solaris_7, windows_nt, windows_2000
Steps to reproduce:
------------------
1. Run the following program.
2. Use spacebar or "down" arrow key to drop down the popup portion.
3. Now continue pressing "down" arrow key results in nothing.
4. Pressing "Esc" key does not close the popup.
Tried and found happening in Windows2000 and Windows98 platforms.
Code used:
---------
import javax.swing.*;
public class testCombo extends JPanel {
String[] petStrings = { "Bird", "Cat", "Dog", "Rabbit", "Pig" };
public testCombo() {
JComboBox combo = new JComboBox(petStrings);
add(combo);
}
public static void main(String args[]) {
JFrame frame = new JFrame("testCombo");
frame.setContentPane(new testCombo());
frame.pack();
frame.setVisible(true);
}
}
------------------
1. Run the following program.
2. Use spacebar or "down" arrow key to drop down the popup portion.
3. Now continue pressing "down" arrow key results in nothing.
4. Pressing "Esc" key does not close the popup.
Tried and found happening in Windows2000 and Windows98 platforms.
Code used:
---------
import javax.swing.*;
public class testCombo extends JPanel {
String[] petStrings = { "Bird", "Cat", "Dog", "Rabbit", "Pig" };
public testCombo() {
JComboBox combo = new JComboBox(petStrings);
add(combo);
}
public static void main(String args[]) {
JFrame frame = new JFrame("testCombo");
frame.setContentPane(new testCombo());
frame.pack();
frame.setVisible(true);
}
}
- duplicates
-
JDK-4409462 JPopupMenu:Keyboard navigation not working if the popup is at the boundaries.
- Closed
-
JDK-4285858 Selecting an item in a combo box cell renderer of a JTable transfers focus
- Closed
-
JDK-4407408 Keyboard navigation for JMenu doesn't work for Solaris
- Closed
-
JDK-4476140 Windows:JComboBox with heavyweight dropdown list loses focus after dropping list
- Closed
-
JDK-4432422 ToolTips over a heavy-weight window causes the app to lose focus.
- Closed