jQuery in Action, 2nd edition*
The moose likes Swing / AWT / SWT and the fly likes GUI: Contents Tree Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "GUI: Contents Tree" Watch "GUI: Contents Tree" New topic
Author

GUI: Contents Tree

Prathamesh Gaddam
Ranch Hand

Joined: Feb 18, 2008
Posts: 58
How can I build and use GUI, 'Contents' tree structure. Please do the needful.
The structure required is as:

+ Main Data
+ Data1
- Data2
+ Page 1
.
.

Note: For clarity please click F1 for the Mozilla browser, then the help file pops up. The 'contents' structure, is what I'M willing to code and use.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12756
    
    5
How can I build and use GUI, 'Contents' tree structure.


Is this for a web / html based user interface or a standalone desktop interface?

Bill
Prathamesh Gaddam
Ranch Hand

Joined: Feb 18, 2008
Posts: 58
Sorry for delayed reply!

I want to design for stand-alone system, a GUI based application showing hierarchy of blood relationships. Maybe further version, an online one with HTML.
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19649
    
  18

javax.swing.JTree is what you need in stand-alone applications.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: GUI: Contents Tree
 
Similar Threads
Best List Implementation To Represent An Organization Tree
Heirarchy in SWING
How to create an interface tree and table.
Data Structure
how to show a XML tree in GUI?