File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT and the fly likes TreeView Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "TreeView" Watch "TreeView" New topic
Author

TreeView

Prasad Khire
Greenhorn

Joined: Jan 25, 2004
Posts: 2
Hi,
Does anybody know how to develop a tree view (explorer like) control
using java? Are there any ready made and free controls available?
I want treenode names to be loaded from the database and I would like
to have event handlers to handle node click events etc..
Thanks for any help,
Prasad Khire.
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24183
    
  34

See the javax.swing.JTree class. Sun's Java Tutorial has a nice section on JTree.


[Jess in Action][AskingGoodQuestions]
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
Moving this to the Swing / JFC / AWT forum...


[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: TreeView