PatchSet 5489 Date: 2005/03/02 22:47:16 Author: robilad Branch: HEAD Tag: (none) Log: Resynced with GNU Classpath : swing fixlet
2005-03-02 Dalibor Topic <[EMAIL PROTECTED]> Resynced with GNU Classpath. 2005-02-27 Audrius Meskauskas <[EMAIL PROTECTED]> * javax/swing/JComboBox.java (constructors): selecting the first item if the box was constructed from the provided non - empty array or vector. Members: ChangeLog:1.3663->1.3664 libraries/javalib/javax/swing/JComboBox.java:1.6->1.7 Index: kaffe/ChangeLog diff -u kaffe/ChangeLog:1.3663 kaffe/ChangeLog:1.3664 --- kaffe/ChangeLog:1.3663 Wed Mar 2 22:35:25 2005 +++ kaffe/ChangeLog Wed Mar 2 22:47:16 2005 @@ -2,6 +2,16 @@ Resynced with GNU Classpath. + 2005-02-27 Audrius Meskauskas <[EMAIL PROTECTED]> + + * javax/swing/JComboBox.java (constructors): selecting the + first item if the box was constructed from the provided + non - empty array or vector. + +2005-03-02 Dalibor Topic <[EMAIL PROTECTED]> + + Resynced with GNU Classpath. + 2005-02-27 Roman Kennke <[EMAIL PROTECTED]> * javax/swing/plaf/basic/BasicListUI: Index: kaffe/libraries/javalib/javax/swing/JComboBox.java diff -u kaffe/libraries/javalib/javax/swing/JComboBox.java:1.6 kaffe/libraries/javalib/javax/swing/JComboBox.java:1.7 --- kaffe/libraries/javalib/javax/swing/JComboBox.java:1.6 Thu Jan 27 14:07:11 2005 +++ kaffe/libraries/javalib/javax/swing/JComboBox.java Wed Mar 2 22:47:23 2005 @@ -185,6 +185,9 @@ public JComboBox(Object[] itemArray) { this(new DefaultComboBoxModel(itemArray)); + + if (itemArray.length > 0) + setSelectedIndex(0); } /** @@ -195,6 +198,9 @@ public JComboBox(Vector itemVector) { this(new DefaultComboBoxModel(itemVector)); + + if (itemVector.size() > 0) + setSelectedIndex(0); } /** _______________________________________________ kaffe mailing list kaffe@kaffe.org http://kaffe.org/cgi-bin/mailman/listinfo/kaffe