When you open a XML in Eclipse, the content can be shown in as a tree structure like
The tree is "embedded" in a table and the content is showed in a seperate column.
This would be very nice to replicate in Swing, not for XML content specifically, but for similar data with tree structure.
UPDATE
I just learned about JTreeTable, but I really need to do this in NetNeans. Should probably have mentioned that, sorry.
Any ideas?
The JTable class is used to display data in tabular form. It is composed of rows and columns.
SwingX has a JXTreeTable, it's based on but much improved over the oldish examples (links to sun code/article) cited by @mKorbel
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With