I have a curios problem with a JTree.
When I use my own extended class for the TreeModel the Tree would not be filled, if I use the DefaultTreeModel directly it works.
What do I make wrong with my own TreeModel?
Call in the UI Class:
This don' t work:
I thought that when I extend my class with the DefaultTreeModel I will Inheritance all the function of superClass. Did I miss something?
ups this was a copy and past failure, in eclipse my class is correct, I edit the posting above.
There is no failure message, just a empty JTree, when I use childcount in my TreeViewModel, it shows me an count of 1, but nothing in the JTree,