-
Bug
-
Resolution: Fixed
-
P3
-
5.0u2
-
b20
-
sparc
-
solaris_10
-
Not verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2150825 | 6u4 | Mikhail Lapshin | P3 | Closed | Won't Fix |
bustos 2005-05-22
If a horizontal JSplitPane has a tall component on the left and a short, non-scroll-
savvy component in a JScrollPane on the right, with scrollbar policies set to
_AS_NEEDED, then the JSplitPane will lay the left component out at its minimum width
instead of at its preferred width.
The attached ScrollPaneBug.java demonstrates this.
###@###.### 2005-05-22 23:37:59 GMT
ScrollPaneLayout sometimes improperly calculates preferred layout size. A case is described above.
If a horizontal JSplitPane has a tall component on the left and a short, non-scroll-
savvy component in a JScrollPane on the right, with scrollbar policies set to
_AS_NEEDED, then the JSplitPane will lay the left component out at its minimum width
instead of at its preferred width.
The attached ScrollPaneBug.java demonstrates this.
###@###.### 2005-05-22 23:37:59 GMT
ScrollPaneLayout sometimes improperly calculates preferred layout size. A case is described above.
- backported by
-
JDK-2150825 ScrollPaneLayout sometimes improperly calculates preferred layout size
- Closed
- relates to
-
JDK-6612531 api/javax_swing/ScrollPaneLayout/index.html#xxxLayoutSize[ScrollPaneLayout2024] throws NPE
- Closed