load a jtree with its properties...

T

tiewknvc9

Hi

I am trying to load a custom jtree with custom node types, and refresh
the view. Breaking it down like this:

the nodes each have properties associated with it (NodeProperties), the
tree object has unique graphics associated with parents and children.

When I load the structure of the jtree and add the properties
programatically. I then call
SwingUtilities.updateComponentTreeUI(m_tlTree);
to update the view of the jtree object.

Unfortunately this causes my jtree object to lose all of the properties
associated with it including the node properties and the images
associated with the table's view.

Does anyone know how to update the view while keeping the properties
associated with all of the nodes?

Thanks!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
473,982
Messages
2,570,185
Members
46,736
Latest member
AdolphBig6

Latest Threads

Top