Class SwingDemo

java.lang.Object
org.abego.treelayout.demo.swing.SwingDemo

public class SwingDemo extends Object
Demonstrates how to use the TreeLayout to render a tree in a Swing application.

Intentionally the sample code is kept simple. I.e. it does not include stuff like anti-aliasing and other stuff one would add to make the output look nice.

Screenshot:

A tree rendered using Swing

  • Constructor Details

    • SwingDemo

      public SwingDemo()
  • Method Details