Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-5007686

EditorPane not resizing properly when font is increased from Zero size

XMLWordPrintable

      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

            peterz Peter Zhelezniakov
            hsinghsunw Hemant Singh (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: