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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.0
    • 1.4.0
    • 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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: