Getting started with JTree

JTree is a swing class used to display a tree like structure such as the file directory structure. If we want to create a JTree we could simply call any one of a number of constructors and it would give us a JTree. To demonstrate the point we could create a basic JTree from a String array.

Download source code and art work
(you will need to provide an email address)

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.