• 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
  • Paul Clapham
  • Ron McLeod
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Rob Spoor
  • Devaka Cooray
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Jj Roberts
  • Al Hobbs
  • Piet Souris

Heirarchy in SWING

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I want to create a hierarchy structure of, suppose, a manager/subordinate relation. Its a n-ary tree.

I have the database table ready that gives me the hierarchy data, I just want to put it on the GUI in the form of a tree/hierarchy.
I am aware of the JTree type available with the Swing, but I dont want to use it. I want the structure to have rich UI (like RIA)

Please suggest me to choose the right things/options that suit my requirements.


Thanks,
Harsha
 
Bartender
Posts: 11445
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Harsha Nadiger wrote:I want the structure to have rich UI (like RIA)


RIA, by definition, are web applications which try to look and behave like desktop/stand alone applications. JTree is a stand alone application component.
If you are not happy with the way your JTree looks, you can tweak it using renderers.
More on renderers here http://download.oracle.com/javase/tutorial/uiswing/components/tree.html#display
 
Harsha Nadiger
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This is what I was looking for.

Thanks for the qucik response Maneesh!
 
Maneesh Godbole
Bartender
Posts: 11445
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You are welcome.
Could you please mark the topic as "solved" by clicking on the at the bottom of the posts?
reply
    Bookmark Topic Watch Topic
  • New Topic