jtree Questions

1

Solved

I would like to have a way to display the contents of an XML file in a JTree. I have already accomplished this using DOM, by implementing a custom TreeModel (and TreeCellRenderer). However it is ve...
Yearwood asked 6/1, 2010 at 8:49

4

Solved

I'm having a problem and hope, someone knows what's going wrong and why and is able to give me the explanation of what I'm missing out right now to make that thing work as suggested. I have a JTre...
Vasques asked 10/12, 2009 at 13:42

2

Solved

It looks like there are 2 default mechanisms to expand a folder node in a JTree. One is to click on the expanded/collapsed icon next to a node. The other way is to double-click on the node itself. ...
Gripe asked 3/8, 2009 at 15:33

2

Solved

I've got a custom tree cell renderer that I'm using to render custom icons a JTree, and I really like the warning icon and the error icon that JOptionPane displays for both warning messages and err...
Weep asked 28/7, 2009 at 21:19

1

Solved

I have a JTree with multiple "roots" (Of course, I actually have an invisible real root with multiple children). The nodes expand and collapse on double click, but there's no visual indication tha...
Gabardine asked 12/1, 2009 at 16:6

© 2022 - 2024 — McMap. All rights reserved.