classpath-patches
[Top][All Lists]
Advanced

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

[cp-patches] FYI: JTextField fix


From: Roman Kennke
Subject: [cp-patches] FYI: JTextField fix
Date: Thu, 12 Jan 2006 20:08:38 +0000

Hi there,

this fixes a regression that was pointed out by Mauve. Anthony and I have
hacked together several mauve tests that show that the document property
filterNewlines must be set in the setDocument() method of JTextField.

2006-01-12  Roman Kennke  <address@hidden>

        * javax/swing/JTextField.java
        (createDefaultModel): Moved installation of the filterNewlines
        property to setDocument().
        (setDocument): New method. Installs the filterNewlines property
        on the document.

/Roman

Attachment: patch.diff
Description: Text Data


reply via email to

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