A rich text editor for Swing that uses structured XML as its format.
JRichTextEditor is a stable rich text editor for the Java Swing widget set. It has a range of features, including clipboard integration, zooming, metadata, XML format, and styles. It is used in a production environment and released under the LGPL.
There is a demo application that demonstrates the capabilities in src/nl/dykema/demo/jxmlnote.