Win a copy of Penetration Testing Basics this week in the Security forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Display Generic Object in a tree structure.

Mariano Austral
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hope you could help me with this issue:

I have this object, that is composed by a few Strings and a few Collections of objects that are composed by another set of Strings, and so on...

I need to display my main object in some sort of tree structure. I can use labels, textareas, tables, etc (ok, jlabels, jtextarea, jtable). I have an idea of how to do that: probably i would look for every method that starts with "get*" and perform a recursive call with the lists...

but........ hasnt it done by someone else yet? I wouldn't like to code something that someone else already done.

Tnx in advance.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic