This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JTextArea/PlainDocument woes
 
Similar Threads
limit number of characters in a JTextField?
Creating custom inputfield in a JOptionPane
Reg. Validatin JTextFields
limit number of characters in a JTextField?
problem with JDialog (urgent) please help