Java TreeView Programmer's Guide

Alok Saldanha


Table of Contents

Preface
1. Gettings Started
Required Tools
TreeView Source Code
Java SDK
ant
Code Editor
DocBook
Your First Build

Preface

This manual is designed to get you started developing Java TreeView derivatives. This consists of two things:

  1. Getting the tools necessary to develop Java TreeView

  2. An Overview of the archtecture

Detailed descriptions of classes and stuff can be found in the Javadoc, and probably change too quickly to be worth documenting in a separate manual.

The current architecture is described in detail in the second chapter of my thesis, which is available online. The guide will grow as necessary to fill any gaps.

Chapter 1.  Gettings Started

This chapter will get you started with developing java treeview.

  • Java SDK

  • JEdit or other code editor

  • ant, a Java-based replacement for make

  • DocBook environment, only for documentation authoring

Required Tools

In this section, I will describe the tools required to build java treeview.

TreeView Source Code

You must, of course, download the source distribution of Java Treeview from http://jtreeview.sourceforge.net

Java SDK

The java sdk can be downloaded from the sun website at http://java.sun.com/j2se/.

ant

Apache Ant, the build tool, is available from http://ant.apache.org/bindownload.cgi

Code Editor

The crossplatform editor jedit is recommended, available from http://www.jedit.org/index.php?page=download

DocBook

Docbook is more of a file format (an XML dialect to be precise) than a tool. It is best to look in the readme file of

Your First Build

Once you have the java sdk and apache ant installed, unpack the source distribution of java treeview, open a command line shell, switch to the unpacked source directory, which should contain the build.xml file, and type "ant dist" to build java treeview. You should now have a freshly built TreeView.jar sitting in the "dist" subdirectory.