This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How can I serialize the content from TreeViewer?  RSS feed

 
Manfred Zimmermann
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello together,

could you tell me please, how can I serialize the content from TreeViewer?

I tried to serialize the TreeViewer direct! But without success!

Thank you for your tips )
 
Rob Spoor
Sheriff
Posts: 20893
81
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is this TreeViewer?

For an object to be serializable, all of its fields need to be:
1) primitives
2) serializable themselves
3) arrays or collections of 1) or 2)
4) transient (meaning they won't be serialized at all)

Is the data stored in the TreeViewer actually serializable?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!