code: public static void main(String[] args) {
  		// get the sample tree
  		String treeName = (args.length > 0) ? args[0] : "";
  		TreeForTreeLayout<TextInBox> tree = getSampleTree(treeName);
  				
  		// setup the tree layout configuration
  		double gapBetweenLevels = 50;
  		double gapBetweenNodes = 10;
  		DefaultConfiguration<TextInBox> configuration = new DefaultConfiguration<TextInBox>(
  				gapBetweenLevels, gapBetweenNodes);
  
  		// create the NodeExtentProvider for TextInBox nodes
  		TextInBoxNodeExtentProvider nodeExtentProvider = new TextInBoxNodeExtentProvider();
  
  		// create the layout
  		TreeLayout<TextInBox> treeLayout = new TreeLayout<TextInBox>(tree,
  				nodeExtentProvider, configuration);
  
  		// Create a panel that draws the nodes and edges and show the panel
  		TextInBoxTreePane panel = new TextInBoxTreePane(treeLayout);
  		showInDialog(panel);
  	}
docs: Shows a dialog with a tree in a layout created by {@link TreeLayout},
  using the Swing component {@link TextInBoxTreePane}.
  
  @param args args[0]: treeName (default="")