Hello, this is a example of displaying tree folder with lazy loading. List of child nodes is retrieved when click on a node by using TreeWillExpandListener. 1. Class TreeDirectory package jbohn.swing; import java.awt.EventQueue; import java.io.File; import java.util.List; import javax.swing.JFrame; import javax.swing.JTree; import javax.swing.SwingWorker; import javax.swing.event.TreeExpansionEvent; import javax.swing.event.TreeWillExpandListener; import javax.swing.tree.DefaultTreeModel; import javax.swing.tree.ExpandVetoException; import javax.swing.tree.MutableTreeNode; public class TreeDirectory extends JFrame implements TreeWillExpandListener { private JTree jTree; private DefaultTreeModel treeModel; public static void main(String[] args) { EventQueue.invokeLater(new Runnable() { @Override ...