-
Bug
-
Resolution: Unresolved
-
P4
-
None
-
1.4.0, 5.0
-
generic
-
generic
Steps to reproduce:
1) Run the attached test TestResizingEditorPane
2) Click on "Decrease font size" till you see font size: 0 on console.
3) Now try increasing the font size by clicking "Increase font size"
4) Notice that if you see console, preferred size(width) of EditorPane is
also not increasing properly according to font size change(See console),
And on screen it is not appearing properly, while it is inside
FlowLayout who respects components preferred size.
Note:
-Tested on Tiger b40
-Reproducible on all L&F's
###@###.### 2004-03-04
1) Run the attached test TestResizingEditorPane
2) Click on "Decrease font size" till you see font size: 0 on console.
3) Now try increasing the font size by clicking "Increase font size"
4) Notice that if you see console, preferred size(width) of EditorPane is
also not increasing properly according to font size change(See console),
And on screen it is not appearing properly, while it is inside
FlowLayout who respects components preferred size.
Note:
-Tested on Tiger b40
-Reproducible on all L&F's
###@###.### 2004-03-04
- relates to
-
JDK-4446522 JTextArea.getPreferredSize() incorrect when line wrapping is used
- Resolved