Parent Directory | Revision Log | Patch
revision 1.11.2.9 by gnu_andrew, Wed Nov 2 00:43:47 2005 UTC | revision 1.11.2.10 by gnu_andrew, Sun Nov 27 21:00:38 2005 UTC | |
---|---|---|
# | Line 203 public class JTextField extends JTextCom | Line 203 public class JTextField extends JTextCom |
203 | */ | */ |
204 | protected Document createDefaultModel() | protected Document createDefaultModel() |
205 | { | { |
206 | return new PlainDocument(); | PlainDocument doc = new PlainDocument(); |
207 | doc.putProperty("filterNewlines", Boolean.TRUE); | |
208 | return doc; | |
209 | } | } |
210 | ||
211 | /** | /** |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |