CVSROOT:        /cvsroot/classpath
Module name:    classpath
Changes by:     Roman Kennke <rabbit78> 06/08/31 19:25:07

Modified files:
        .              : ChangeLog 
        javax/swing    : JEditorPane.java 
        javax/swing/plaf/basic: BasicTextUI.java 

Log message:
        2006-08-31  Roman Kennke  <[EMAIL PROTECTED]>
        
                * javax/swing/JEditorPane.java
                (getPreferredSize): Replace preferred size with minimum
                UI size only if the scrollable does _not_ track the viewport
                size and only if the viewport's size is smaller than the
                scrollable's size.
                (getScrollableTracksViewportWidth): Avoid unnecessary multiple
                method calls.
                * javax/swing/plaf/basic/BasicTextUI.java
                (getPreferredSize): Read-lock the document to avoid
                concurrency problems.
                (getMaximumSize): Return maximum size of the view.
                Read-lock the document to avoid concurrency problems.
                (getMinimumSize): Return minimum size of the view.
                Read-lock the document to avoid concurrency problems.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/ChangeLog?cvsroot=classpath&r1=1.8477&r2=1.8478
http://cvs.savannah.gnu.org/viewcvs/classpath/javax/swing/JEditorPane.java?cvsroot=classpath&r1=1.34&r2=1.35
http://cvs.savannah.gnu.org/viewcvs/classpath/javax/swing/plaf/basic/BasicTextUI.java?cvsroot=classpath&r1=1.93&r2=1.94


Reply via email to