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

WordWrap doesn't wrap lines correctly in JTextComponent

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.1.6
    • client-libs



      Name: el35337 Date: 05/31/98


      In JTextComponent, when I enable word-wrapping,
      it doesn't wrap lines at the right place. The
      last character in the widest lines sometimes runs
      off the right edge of the JViewPort. I never see
      more than a single character clipped. This is true
      regardless of the value of setWrapStyleWord.

      It seems to put a character at the end of a line
      if more than half of it would show. If less than
      half would be visible, it wraps it.
      (Review ID: 32686)
      ======================================================================

            tprinzing Tim Prinzing (Inactive)
            elarsen Erik Larsen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: