Reputation: 3641
I created my own TreeView in JavaFX 2 with this tutorial. However I want to hide my root node.
How it looks like right now:
How it should look:
thanks, Muki
Upvotes: 25
Views: 9118
Reputation: 49185
Hiding the root item can be done by
treeView.setShowRoot(false);
Upvotes: 42