RichTextArea plain text

Hi,
Is possible to obtain the plain text in a RichTextArea?

Thanks!!!

See http://www.rgagnon.com/javadetails/java-0424.html

But stripping the tags is not necessarily what you want. Text with bullets, numbered lists, images, links etc. – anything that makes it “rich”, really – cannot be transformed to plain text without actually rendering the layout. For example, you most lilkely want each bullet to be on a separate line.

In effect, what you need is a browser rendering engine like Lynx or Links, but callable as a Java library. I have looked several times for such a library, but never found one.