diff options
author | Roman Kennke <roman@kennke.org> | 2005-12-19 09:44:31 +0000 |
---|---|---|
committer | Roman Kennke <roman@kennke.org> | 2005-12-19 09:44:31 +0000 |
commit | e8f2fcedf1646524256a16d3af9b5233ee5cbf8c (patch) | |
tree | d83473efe7d98b2567a0d2b5efdf6a5b118585ce /javax/swing/plaf/basic/BasicComboPopup.java | |
parent | ebc7cef23e6c06061b794d93fe4b3b43f7860729 (diff) | |
download | classpath-e8f2fcedf1646524256a16d3af9b5233ee5cbf8c.tar.gz |
2005-12-19 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicComboBoxUI.java
(installListeners): Install focus listener only on editor.
(configureArrowButton): Make arrow button not focusable.
(setPopupVisible): Request focus for the combobox editor or comboBox,
depending on whether the combobox is editable or not.
* javax/swing/plaf/basic/BasicComboPopup.java
(configureList): Make list not focusable.
Diffstat (limited to 'javax/swing/plaf/basic/BasicComboPopup.java')
-rw-r--r-- | javax/swing/plaf/basic/BasicComboPopup.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/javax/swing/plaf/basic/BasicComboPopup.java b/javax/swing/plaf/basic/BasicComboPopup.java index 73979bb89..08dab7f9f 100644 --- a/javax/swing/plaf/basic/BasicComboPopup.java +++ b/javax/swing/plaf/basic/BasicComboPopup.java @@ -442,6 +442,7 @@ public class BasicComboPopup extends JPopupMenu implements ComboPopup { list.setModel(comboBox.getModel()); list.setVisibleRowCount(comboBox.getMaximumRowCount()); + list.setFocusable(false); installListListeners(); } |