Meaningless Drivel is fun!
The moose likes Swing / AWT / SWT and the fly likes checkboxes in leafs of Jtrees Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Introducing JavaFX 8 Programming this week in the JavaFX forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "checkboxes in leafs of Jtrees" Watch "checkboxes in leafs of Jtrees" New topic

checkboxes in leafs of Jtrees

Sotirios Pappas

Joined: Oct 08, 2005
Posts: 1

although there are a lot examples regarding Jtrees with checkboxes, I cannot manage to get checkboxes in leafs.
I do not want checkboxes in the root and in the nodes, just in the leafs...

|_____Node 1
| |_______ \/ leaf1
|_____ Node 2
|________ \/ leaf 2

Can anyone help - hopefully with code...

Craig Wood
Ranch Hand

Joined: Jan 14, 2004
Posts: 1535
Consider Paul's rocket mass heater.
subject: checkboxes in leafs of Jtrees
It's not a secret anymore!