What component would you choose to display XML data in a AWT/Swing Java GUI?
Requirements:
- Editable
- Basic Syntax Highlight (tags vs.literals)
- Pretty-print (i.e. don't display everything in the same line if the XML contains no linebreaks).
What component would you choose to display XML data in a AWT/Swing Java GUI?
Requirements:
You can use Jaxe
It has the option to use it within another application
I've had success with the JEdit Syntax Package. It doesn't automatically pretty-print, but you can do it easily yourself.