bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug swing/26888] New: JTextArea/PlainDocument - removing text with line


From: thebohemian at gmx dot net
Subject: [Bug swing/26888] New: JTextArea/PlainDocument - removing text with line-breaks makes component unusable
Date: 27 Mar 2006 16:59:02 -0000

Enter the following text into a JTextArea (without quotes):

"abc
def"

Move before the a and delete all characters by pressing the delete key. If you
press a key now nothing will happen, eg. no text is put into the textarea.
Pasting while having a text in the clipboard does not work either.

Explicitly setting a text with jTextAreaInstance.setText("foo") does not work,
too.

Getting the underlying PlainDocument and running insertString(0, "foo", null)
has no effect, too.


-- 
           Summary: JTextArea/PlainDocument - removing text with line-breaks
                    makes component unusable
           Product: classpath
           Version: 0.90
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: swing
        AssignedTo: thebohemian at gmx dot net
        ReportedBy: thebohemian at gmx dot net


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26888





reply via email to

[Prev in Thread] Current Thread [Next in Thread]