JTextArea doesn't adjust for font height when changing font size

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 1.4.0
    • Affects Version/s: 1.4.0
    • Component/s: client-libs
    • None
    • beta2
    • generic
    • generic

      Compile the attached sources with
      javac InstantMessenger.java
      and run them with
      java InstantMessenger

      You'll see a window with a combo box for font sizes and a text area with three lines of text, one of which is empty.

      Use the combo box to choose a big number. You'll see the font size being adjusted, and you'll also see that the lines, which now need wrapping, are drawn overlapping each other.

            Assignee:
            Shannon Hickey (Inactive)
            Reporter:
            Norbert Lindenberg (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: