CVSROOT:        /cvsroot/classpath
Module name:    classpath
Branch:         
Changes by:     Anthony Balkissoon <[EMAIL PROTECTED]>  05/09/12 20:59:15

Modified files:
        .              : ChangeLog 
        javax/swing    : JScrollPane.java JViewport.java 
                         ScrollPaneLayout.java 

Log message:
        2005-09-12  Anthony Balkissoon  <[EMAIL PROTECTED]>
        
        * javax/swing/JScrollPane.java:
        (addNonNull): Changed from adding to container with no constraints to
        adding to container with the appropriate ScrollPaneConstant as a
        constraint.  This avoids IllegalArgumentExceptions in ScrollPaneLayout.
        (setColumnHeader): Added constraint to addNonNull call.
        (setCorner): Likewise.
        (setHorizontalScrollBar): Likewise.
        (setRowHeader): Likewise.
        (setVerticalScrollBar): Likewise.
        (setViewport): Likewise.
        * javax/swing/JViewport.java:
        (setViewSize): Don't set the size or fireStateChanged unless the new
        size is different from the old size.
        (setView): Reset isViewSizeSet to false.
        * javax/swing/ScrollPaneLayout:
        (addSingletonComponent): Implemented and documented.
        (addLayoutComponent): Throw an IllegalArgumentException if key is
        not one of the appropriate ScrollPaneConstants constants.  Added docs.
        (setVerticalScrollBarPolicy): Likewise.
        (setHorizontalScrollBarPolicy): Likewise.
        (getCorner): Added docs.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.4740&tr2=1.4741&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/JScrollPane.java.diff?tr1=1.26&tr2=1.27&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/JViewport.java.diff?tr1=1.26&tr2=1.27&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/ScrollPaneLayout.java.diff?tr1=1.14&tr2=1.15&r1=text&r2=text



Reply via email to