private DefaultTreeModel getTreeModel ( ) { if ( treeModel == null ) { treeModel = new DefaultTreeModel ( getRootNode ( ) ) ; treeModel . setRoot ( getRootNode ( ) ) ; } return treeModel ; }
This method initializes treeModel