-
Enhancement
-
Resolution: Unresolved
-
P4
-
None
-
6
-
generic
-
generic
Many components doesn't have a fixed notion of preferredSize. Example is a text component. If you set its width smaller than it is now, it can grow slightly bigger - and this is its current preferred size. Layouts don't work well with such components, see 4446522, 4990877.
We must investigate possible extensions to a Component or LayoutManager(2) interfaces to see if anything can be done to legalize such behavior.
We must investigate possible extensions to a Component or LayoutManager(2) interfaces to see if anything can be done to legalize such behavior.
- relates to
-
JDK-4990877 REGRESSION: JTextArea.setRows() broken.
-
- Resolved
-
-
JDK-4446522 JTextArea.getPreferredSize() incorrect when line wrapping is used
-
- Resolved
-