commit-classpath
[Top][All Lists]
Advanced

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

[commit-cp] classpath javax/swing/JLayeredPane.java javax/s...


From: Roman Kennke
Subject: [commit-cp] classpath javax/swing/JLayeredPane.java javax/s...
Date: Tue, 25 Oct 2005 09:49:48 -0400

CVSROOT:        /cvsroot/classpath
Module name:    classpath
Branch:         
Changes by:     Roman Kennke <address@hidden>   05/10/25 13:49:48

Modified files:
        javax/swing    : JLayeredPane.java JPopupMenu.java Popup.java 
                         PopupFactory.java 
        javax/swing/plaf/basic: BasicMenuItemUI.java BasicMenuUI.java 
        .              : ChangeLog 

Log message:
        2005-10-24  Roman Kennke  <address@hidden>
        
        * javax/swing/JLayeredPane.java
        (addImpl): Removed unnecessary repaint() and revalidate() calls.
        * javax/swing/JPopupMenu.java
        (remove): Removed unnecessary revalidate() call.
        (insert): Removed code that installs GridBagConstraints. JPopupMenu
        uses a BoxLayout and this is not needed anymore.
        (pack): Send this method call to the event queue to avoid
        synchronization problems. Set size to preferredSize of this menu.
        (setVisible): Send this method call to the event queue to avoid
        synchronization problems. Use PopupFactory for creating a popup.
        (setLocation): Use int fields instead of a Point field.
        (Popup): Removed inner interface. We use javax.swing.Popup now.
        (LightweightPopup): Likewise.
        (MediumWeightPopup): Likewise.
        (HeavyWeightPopup): Likewise.
        * javax/swing/Popup.java
        (JWindowPopup.JWindowPopup): Add contents to contentPane of window.
        Set focusableWindowState to false.
        (JWindowPopup.show): Set size of window here.
        (LightweightPopup): New inner class.
        * javax/swing/PopupFactory.java
        (getPopup): Return heavyweight or lightweight popup depending on
        the parameters.
        * javax/swing/plaf/basic/BasicMenuItemUI.java
        (PropertyChangeHandler): Removed unneeded inner class.
        (BasicMenuItemUI): Removed instantiation of PropertyChangeHandler.
        (installListeners): Removed handling of the PropertyChangeHandler.
        (uninstallListeners): Removed handling of the PropertyChangeHandler.
        * javax/swing/plaf/basic/BasicMenuUI.java
        (getMaximumSize): Don't treat popup menus different.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/JLayeredPane.java.diff?tr1=1.30&tr2=1.31&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/JPopupMenu.java.diff?tr1=1.30&tr2=1.31&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/Popup.java.diff?tr1=1.4&tr2=1.5&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/PopupFactory.java.diff?tr1=1.3&tr2=1.4&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/plaf/basic/BasicMenuItemUI.java.diff?tr1=1.31&tr2=1.32&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/plaf/basic/BasicMenuUI.java.diff?tr1=1.19&tr2=1.20&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.5345&tr2=1.5346&r1=text&r2=text





reply via email to

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