• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Display Generic Object in a tree structure.

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic