classpath-patches
[Top][All Lists]
Advanced

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

[cp-patches] [Patch] Various fixes to JComboBox


From: Michael Koch
Subject: [cp-patches] [Patch] Various fixes to JComboBox
Date: Wed, 22 Sep 2004 14:49:41 +0200
User-agent: KMail/1.6.2

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi list,


I just merged the attached patch from java-gui-branch.


Michael


2004-09-22  Olga Rodimina  <address@hidden>

        * javax/swing/plaf/basic/BasicComboBoxUI.java:
        (paintCurrentValue): Pass correct parameters to 
        getListCellRendererComponent().
        (ListDataHandler.intervalRemoved): Implemented. 
        (PropertyChangeHandler.propertyChange): Handle changes in
        MODEL_CHANGED_PROPERTY of the JComboBox
        * javax/swing/plaf/basic/BasicComboPopup.java:
        (BasicComboPopup): Moved code that configures popup to 
        configurePopup() and call it instead. 
        (firePopupMenuWillBecomeVisible): Implemented.
        (firePopupMenuWillBecomeInvisible): Likewise.
        (firePopupMenuCanceled): Likewise.
        (configureList): Set list's visibleRowCount same as 
        comboBox's visibleRowCount.
        (configurePopup): Implemented.
        (getPopupHeightForRowCount): Get item's from JComboBox's model and 
        not from model of the JList.
        (ListMouseMotionHandler.mouseMoved): Implemented.
        (PropertyChangeHandler.propertyChange): Handles change in the
        JComboBox's model.


- -- 
Homepage: http://www.worldforge.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBUXTnWSOgCCdjSDsRAspjAJ0dXQ2i27UZQcaXW30FAq4HnHPXzQCfc578
ZqYRAVD/yV5/140mBtY9GUk=
=hS1B
-----END PGP SIGNATURE-----

Attachment: swing.diff
Description: Text Data


reply via email to

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