1. JTree / DataModel Confusion coderanch.comThanks for replying. I have included a simplified example of what I am trying to understand and achieve. In the following example, I can manipulate the data in my data model using the menu items ( I know the data model manipulation is not fault perfect - it is just a quick demo of my problem ). I want to understand ... |
2. [SWING] Custom JTree DataModel probleme.... coderanch.comHi there. I have a List of "Books" to render in a tree format. Each book have 3 Set, one of "Character", one of "Chapter", and one of "Picture". I want to display a tree like that Books |- Book 1 | |-Chapters | | |- Chapter 1 | | |- Chapter 2 | |-Characters | | |- Character 1 |- ... |