Serializing problem...

A

Andreas Beresko

Hi,

i want to serialize a complex JTree (or better the Tree Model iI get with
getModel() ).
If my tree only got a root (e.g. with userData of "MyClass") it works fine,
but if this root got an subnode (e.g. with same Classtype as as userData)
i can serialize it, but when i try to derserialize it, I get an
IllegalArgumentException ("path in TreePath must be non null").
Anyone got a solution?

best regards
Andreas
 
A

Andreas Beresko

Thanks at all, it works when i serialize the whole tree instead of the
treemodel....
 

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

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,010
Latest member
MerrillEic

Latest Threads

Top