CVSROOT: /cvsroot/classpath
Module name: classpath
Branch:
Changes by: Roman Kennke <[EMAIL PROTECTED]> 05/11/18 21:57:37
Modified files:
. : ChangeLog
javax/swing/plaf/basic: BasicTabbedPaneUI.java
Log message:
2005-11-17 Roman Kennke <[EMAIL PROTECTED]>
* javax/swing/plaf/basic/BasicTabbedPaneUI.java
(PropertyChangeHandler.propertyChange): Replaced layout() call
with revalidate() call.
(TabbedPaneLayout.calculateLayoutInfo): Added assureRectsCreated()
call to make sure we have the rectangles in place. Also initialize
the contentRect here so it can be used later.
(TabbedPaneLayout.calculateSize): Removed unused statement.
(TabbedPaneLayout.calculateTabRects): Moved assureRectsCreated call
to calculateLayoutInfo().
(TabbedPaneScrollLayout.calculateTabRects): Moved
assureRectsCreated call to calculateLayoutInfo(). Removed unused
statements.
(TabbedPaneScrollLayout.layoutContainer): Replaced hide() and show()
calls with calls to setVisible(). Especially important since
setVisible is handled special in Swing.
(BasicTabbedPaneUI): Initialize rects and tabRuns fields.
(installUI): Removed layout() call.
(paintContentBorder): Removed unused statement.
(assureRectsCreated): Reworked to match the JDK behaviour.
(getFontMetrics): Use the component getFontMetrics() instead of
the deprecated toolkit method.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.5664&tr2=1.5665&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/plaf/basic/BasicTabbedPaneUI.java.diff?tr1=1.29&tr2=1.30&r1=text&r2=text