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

Swing-1.0.2 JTextArea buggy wrapping and deleting

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.2.0
    • client-libs
    • x86, sparc
    • solaris_2.5.1, windows_95



      Name: rk38400 Date: 05/13/98


      JTextArea myTextArea = new JTextArea();
      myTextArea.setLineWrap(true);
      myTextArea.setWrapStyleWord(true);
      JScrollPane myScroller = new JScrollPane(myTextArea);

      Type all the way to the end. The words do not
      truncate but leave a letter on the end half caught
      under the scroller.
      Then once the end of the next line is reached, the
      letter left on the previous line disappears and the
      new line takes on the letter.
      Then hold the back delete key to delete.
      It leaves traces of the words so that there is a
      blotchy outlook in the textarea. Holding the forward
      delete key leaves ------ all over the textarea.
      (Review ID: 30260)
      ======================================================================

            tprinzing Tim Prinzing (Inactive)
            rkarsunw Ralph Kar (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: