void function ( ActionEvent arg0 ) { if ( selectedNodeObject != null && ! selectedNodeObject . getText ( ) . equals ( ROOT_NODE_TEXT ) ) { selectedNodeObject . deleteNode ( arg0 ) ; selectedNodeObject = null ; } }
deletes the selected tree node . the node object reference is set to null so that the delete and copy buttons will be disabled . concode_field_sep DynamicNodeUserObject selectedNodeObject concode_elem_sep String ROOT_NODE_TEXT concode_elem_sep DefaultTreeModel model concode_elem_sep int labelCount concode_field_sep DefaultTreeModel getModel concode_elem_sep void setSelectedNodeObject concode_elem_sep boolean isDeleteDisabled concode_elem_sep DynamicNodeUserObject getSelectedNodeObject concode_elem_sep void copySelectedNode concode_elem_sep int getIncreasedLabelCount concode_elem_sep boolean isCopyDisabled