-
Bug
-
Resolution: Won't Fix
-
P4
-
None
-
1.2.0
-
x86
-
windows_95
Name: rk38400 Date: 05/13/98
The JTabbedPane code simply returns a Dimension with Integer.MAX_VALUE
for the getMaximumSize call.
It should compute the maximum based on the maximums of it's contents.
Here is the bas code in BasicTabbedPaneUI
public Dimension getMaximumSize(JComponent c) {
return new Dimension(Integer.MAX_VALUE, Integer.MAX_VALUE);
}
getMaximumSize should call calculateSize, like min and pref do.
A few changes to calculate size so it can handle MAX as well as
min and pref, and it's fixed.
(Review ID: 29555)
======================================================================