This free tutorial teaches concepts about Swing tree views, what they show, how to set them up, and how to customize them. It also teaches the concept of using threads to execute long-running tasks so that the user interface remains responsive.
You should be familiar with Java programming concepts such as the structure of the language (packages, classes, and methods) and how object-oriented programming differs from procedural programming. A familiarity with Swing programming will be useful, but you do not need prior experience with Swing tree views. The tutorial does not attempt to act as a programming reference, so a suitable Swing reference, or the online documentation, may be a useful aid.
System requirements
You will need JavaScript enabled on your browser. To try out the code examples in this tutorial, you need an editing environment. This can be as basic as an operating system editor. In a development environment, many people use integrated environments with debuggers and other features specific to writing and testing code. To compile your code you'll need the Java compiler (javac.exe).