Parent Directory | Revision Log | Patch
revision 1.22 by rabbit78, Mon Oct 17 13:35:58 2005 UTC | revision 1.23 by trebligd, Mon Oct 17 16:17:45 2005 UTC | |
---|---|---|
# | Line 1021 public class BasicComboBoxUI extends Com | Line 1021 public class BasicComboBoxUI extends Com |
1021 | */ | */ |
1022 | public void itemStateChanged(ItemEvent e) | public void itemStateChanged(ItemEvent e) |
1023 | { | { |
1024 | if (e.getStateChange() == ItemEvent.SELECTED && comboBox.isEditable()) | |
1025 | comboBox.getEditor().setItem(e.getItem()); | |
1026 | comboBox.repaint(); | comboBox.repaint(); |
1027 | } | } |
1028 | } | } |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |