question: private void action_loadTree ( ) { KeyNamePair tree = ( KeyNamePair ) treeField . getSelectedItem ( ) ; log . info ( "Tree=" + tree ) ; if ( tree . getKey ( ) <= 0 ) { centerList . setModel ( new DefaultListModel ( ) ) ; return ; } m_tree = new MTree ( Env . getCtx ( ) , tree . getKey ( ) , null ) ; cbAllNodes . setSelected ( m_tree . isAllNodes ( ) ) ; bAddAll . setEnabled ( ! m_tree . isAllNodes ( ) ) ; bAdd . setEnabled ( ! m_tree . isAllNodes ( ) ) ; bDelete . setEnabled ( ! m_tree . isAllNodes ( ) ) ; bDeleteAll . setEnabled ( ! m_tree . isAllNodes ( ) ) ; DefaultListModel model = new DefaultListModel ( ) ; ArrayList < ListItem > items = getTreeItemData ( ) ; for ( ListItem item : items ) model . addElement ( item ) ; log . config ( "#" + model . getSize ( ) ) ; centerList . setModel ( model ) ; centerTree . initTree ( m_tree . getAD_Tree_ID ( ) ) ; }
target:  Action: Fill Tree with all nodes