/[classpath]/classpath/javax/swing/plaf/basic/BasicComboBoxEditor.java
ViewVC logotype

Diff of /classpath/javax/swing/plaf/basic/BasicComboBoxEditor.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.5 by trebligd, Fri Jul 8 15:24:08 2005 UTC revision 1.6 by langel, Thu Jul 28 19:37:54 2005 UTC
# Line 91  public class BasicComboBoxEditor extends Line 91  public class BasicComboBoxEditor extends
91     */     */
92    public void setItem(Object item)    public void setItem(Object item)
93    {    {
94      editor.setText(item.toString());       if (item == null)
95            editor.setText("");
96         else
97            editor.setText(item.toString());
98    }    }
99    
100    /**    /**

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26