How to display tree hierarchy in Java?

后端 未结 4 544
滥情空心
滥情空心 2021-01-05 02:15

I have a table in a database named \"Process\"

This process table has 3 fields:

  • process_id
  • process_name
  • process_parent_id
4条回答
  •  猫巷女王i
    2021-01-05 02:42

    As others have suggested, using JTree is one possible solution. However, if you wish to have more control over the appearance of your tree I suggest checking out the JUNG graphing library. This can potentially give you great results but will require more work.

提交回复
热议问题