Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JTextArea/PlainDocument woes  RSS feed

 
Timmy Marks
Ranch Hand
Posts: 226
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!