commit-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[commit-cp] classpath ./ChangeLog javax/swing/DefaultComboB...


From: Robert Schuster
Subject: [commit-cp] classpath ./ChangeLog javax/swing/DefaultComboB...
Date: Sat, 18 Dec 2004 15:06:00 -0500

CVSROOT:        /cvsroot/classpath
Module name:    classpath
Branch:         
Changes by:     Robert Schuster <address@hidden>        04/12/18 19:54:53

Modified files:
        .              : ChangeLog 
        javax/swing    : DefaultComboBoxModel.java JComboBox.java 
        javax/swing/plaf/basic: BasicComboBoxUI.java 

Log message:
        2004-12-18  Robert Schuster <address@hidden>
        
        * javax/swing/JComboBox.java
        added support for no item being selected
        (JComboBox): select first or nothing depending on element
        count
        (setModel): cleaned up unneeded "this." usage, added more
        docs, made exception behavior match that of the JDK
        (setLighWeightPopupEnabled): removed unneeded "this." usage
        (setEditable): dito
        (setMaximumRowCount): dito
        (setRenderer): dito
        (setPrototypeDisplayValue): dito
        (getSelectedItem): simplified, added more user doc
        (setSelectedIndex): corrected exception behavior, added more user
        doc
        (getSelectedIndex): fixed hardcoded dependency on DefaultComboBoxModel
        (see bug #11255), added performance warning to user doc
        (addItem): fixed exception behavior, added user doc
        (insertItemAt): dito
        (removeItem): dito
        (removeItemAt): dito
        (removeAll): fixed exception behavior, added user doc, added support
        for model not being instance of DefaultComboBoxModel (see bug #11255)
        (getSelectedItemObjects): simplified
        (getItemCount): fixed dependency on DefaultComboBoxModel (see bug 
#11255)
        (getItemAt): fixed dependency on MutableComboBoxModel (see bug #11255)
        * javax/swing/DefaultComboBoxModel.java:
        (setSelectedItem): updates selected item only if new
        value is null or known (match JDK behavior)
        * javax/swing/plaf/basic/BasicComboBoxUI.java:
        (paintCurrentValue): renders "" if no item is selected

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.2917&tr2=1.2918&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/DefaultComboBoxModel.java.diff?tr1=1.4&tr2=1.5&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/JComboBox.java.diff?tr1=1.10&tr2=1.11&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/plaf/basic/BasicComboBoxUI.java.diff?tr1=1.4&tr2=1.5&r1=text&r2=text





reply via email to

[Prev in Thread] Current Thread [Next in Thread]