bug-classpath
[Top][All Lists]
Advanced

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

[Bug swing/30337] NPE with own JComboBox if editor nis null


From: cvs-commit at developer dot classpath dot org
Subject: [Bug swing/30337] NPE with own JComboBox if editor nis null
Date: 7 Jan 2007 21:12:58 -0000


------- Comment #6 from cvs-commit at developer dot classpath dot org  
2007-01-07 21:12 -------
Subject: Bug 30337

CVSROOT:        /cvsroot/classpath
Module name:    classpath
Changes by:     Roman Kennke <rabbit78> 07/01/07 21:12:36

Modified files:
        java/awt       : Component.java 
        javax/swing/plaf/basic: BasicComboBoxUI.java 
                                BasicComboPopup.java 
        javax/swing/plaf/metal: MetalComboBoxUI.java 
        .              : ChangeLog 

Log message:
        2007-01-07  Roman Kennke  <address@hidden>

                PR 30337
                * java/awt/Component.java
                (getFontImpl): Return null when the component has no font set
                and also has no parent yet.
                * javax/swing/plaf/basic/BasicComboBoxUI.java
                (PropertyChangeHandler.propertyChange): Only add editor when
combo
                box is editable. Avoid fetching the property name repeatedly.
                Invalidate when renderer or prototypeDisplayValue change.
                (uninstallComponents): Unconfigure everything and then remove
all
                components.
                * javax/swing/plaf/basic/BasicComboPopup.java
                (uninstallingUI): Don't nullify list model.
                * javax/swing/plaf/metal/MetalComboBoxUI.java
                (createArrowButton): Pass currentValuePane to the
MetalComboBoxButton
                constructor rather than a new (unconnected) CellRendererPane.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/java/awt/Component.java?cvsroot=classpath&r1=1.154&r2=1.155
http://cvs.savannah.gnu.org/viewcvs/classpath/javax/swing/plaf/basic/BasicComboBoxUI.java?cvsroot=classpath&r1=1.41&r2=1.42
http://cvs.savannah.gnu.org/viewcvs/classpath/javax/swing/plaf/basic/BasicComboPopup.java?cvsroot=classpath&r1=1.20&r2=1.21
http://cvs.savannah.gnu.org/viewcvs/classpath/javax/swing/plaf/metal/MetalComboBoxUI.java?cvsroot=classpath&r1=1.13&r2=1.14
http://cvs.savannah.gnu.org/viewcvs/classpath/ChangeLog?cvsroot=classpath&r1=1.9044&r2=1.9045


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30337





reply via email to

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