Parent Directory | Revision Log | Patch
revision 1.4 by trebligd, Mon Sep 19 08:51:37 2005 UTC | revision 1.5 by trebligd, Tue Oct 18 14:11:26 2005 UTC | |
---|---|---|
# | Line 251 public class MetalComboBoxUI | Line 251 public class MetalComboBoxUI |
251 | } | } |
252 | else | else |
253 | { | { |
254 | arrowButton.setText(comboBox.getSelectedItem().toString()); | String text = ""; |
255 | Object selected = comboBox.getSelectedItem(); | |
256 | if (selected != null) | |
257 | text = selected.toString(); | |
258 | arrowButton.setText(text); | |
259 | if (editor != null) | if (editor != null) |
260 | editor.setVisible(true); | editor.setVisible(true); |
261 | } | } |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |