Java Swing table tree

后端 未结 3 1530
被撕碎了的回忆
被撕碎了的回忆 2020-12-03 14:57

When you open a XML in Eclipse, the content can be shown in as a tree structure like

\"XML

相关标签:
3条回答
  • 2020-12-03 15:13

    SwingX has a JXTreeTable, it's based on but much improved over the oldish examples (links to sun code/article) cited by @mKorbel

    0 讨论(0)
  • 2020-12-03 15:22

    Check the following:

    • TreeTable
    • This example
    • Code depots by Swing Guru
    • Netbeans IDE's Outline
    • Something more here
    • Commercial products
    0 讨论(0)
  • 2020-12-03 15:31

    You could try subclassing JTable and making your own custom renderer with behavior that adds/removes new rows when you expand/collapse a node.

    0 讨论(0)
提交回复
热议问题