*
The moose likes Swing / AWT / SWT and the fly likes JTextArea/PlainDocument woes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JTextArea/PlainDocument woes" Watch "JTextArea/PlainDocument woes" New topic
Author

JTextArea/PlainDocument woes

Timmy Marks
Ranch Hand

Joined: Dec 01, 2003
Posts: 226
is it possible to make sure that the text in a PlainDocument contains only ascii? I am working on an XML editor and it seems that there are often control sequences in the content returned with PlainDocument's getText() method.
Is there any way to filter these?
 
 
subject: JTextArea/PlainDocument woes
 
Similar Threads
Creating custom inputfield in a JOptionPane
limit number of characters in a JTextField?
Reg. Validatin JTextFields
limit number of characters in a JTextField?
problem with JDialog (urgent) please help