This simple TreeTable application is used to demonstrate and explain basic functionality.

JXTreeTable needs a TreeTableModel - the example makes use of the FileSystemModel which is derived from the DefaultTreeTableModel. A Highlighter is used for the alternating row background color and the ColumnControlButton is set to visible to enable additional table functions.

All relevant lines are highlighted. Press the "Run..." button to start the example.