Hi,
We need to display XML files in a Swing GUI. The XML is automatically
generated so it is absolutelly unadapted to human viewing.
So we need some Swing control that can format XML and show it.
Or use some XML formatting tool and display results in simple
JTextPane or something like this.
Any ideas?
Regards,
Michael Yashin
John - 20 May 2005 10:22 GMT
> Hi,
>
[quoted text clipped - 9 lines]
> Regards,
> Michael Yashin
I would probably parse the document to a DOM that was also a TableModel
and then use JTree to display it.
john
yashin@reksoft.ru - 30 May 2005 14:15 GMT
Hope it will be useful for somebody...
We've found free XML formatter
http://homepage.ntlworld.com/wayne_grant/xmlformatter.html
So we parse XML to DOM then format using XMLFormatter and show using
JTextPane. Rather simple :)
Mike.