1 |
2005-11-17 Roman Kennke <kennke@aicas.com> |
2005-11-17 Roman Kennke <kennke@aicas.com> |
2 |
|
|
3 |
|
* javax/swing/plaf/basic/BasicTabbedPaneUI.java |
4 |
|
(PropertyChangeHandler.propertyChange): Replaced layout() call |
5 |
|
with revalidate() call. |
6 |
|
(TabbedPaneLayout.calculateLayoutInfo): Added assureRectsCreated() |
7 |
|
call to make sure we have the rectangles in place. Also initialize |
8 |
|
the contentRect here so it can be used later. |
9 |
|
(TabbedPaneLayout.calculateSize): Removed unused statement. |
10 |
|
(TabbedPaneLayout.calculateTabRects): Moved assureRectsCreated call |
11 |
|
to calculateLayoutInfo(). |
12 |
|
(TabbedPaneScrollLayout.calculateTabRects): Moved |
13 |
|
assureRectsCreated call to calculateLayoutInfo(). Removed unused |
14 |
|
statements. |
15 |
|
(TabbedPaneScrollLayout.layoutContainer): Replaced hide() and show() |
16 |
|
calls with calls to setVisible(). Especially important since |
17 |
|
setVisible is handled special in Swing. |
18 |
|
(BasicTabbedPaneUI): Initialize rects and tabRuns fields. |
19 |
|
(installUI): Removed layout() call. |
20 |
|
(paintContentBorder): Removed unused statement. |
21 |
|
(assureRectsCreated): Reworked to match the JDK behaviour. |
22 |
|
(getFontMetrics): Use the component getFontMetrics() instead of |
23 |
|
the deprecated toolkit method. |
24 |
|
|
25 |
|
2005-11-17 Roman Kennke <kennke@aicas.com> |
26 |
|
|
27 |
* javax/swing/JTable.java |
* javax/swing/JTable.java |
28 |
(getCellRenderer): Replaced dataModel.getColumnClass() with |
(getCellRenderer): Replaced dataModel.getColumnClass() with |
29 |
the shorter getColumnClass(). |
the shorter getColumnClass(). |