public NodeData mySingleClick(int selRow, TreePath selPath)
    {
        Object[] x = selPath.getPath();
        DynamicTreeNode nodeCurrent = (DynamicTreeNode)x[x.length - 1];     // Last one in list
        NodeData data = (NodeData)nodeCurrent.getUserObject();
        String strDescription = data.toString();
        String strID = data.getID();
        String strRecord = data.getRecordName();
        this.firePropertyChange(m_strLocationRecordParam, null, strRecord);
        this.firePropertyChange(m_strLocationIDParam, null, strID);
        this.firePropertyChange(m_strLocationParam, null, strDescription);
        return data;
    }
public NodeData mySingleClick ( int selRow , TreePath selPath ) { Object [ ] x = selPath . getPath ( ) ; DynamicTreeNode nodeCurrent = ( DynamicTreeNode ) x [ x . length - 1 ] ; NodeData data = ( NodeData ) nodeCurrent . getUserObject ( ) ; String strDescription = data . toString ( ) ; String strID = data . getID ( ) ; String strRecord = data . getRecordName ( ) ; this . firePropertyChange ( m_strLocationRecordParam , null , strRecord ) ; this . firePropertyChange ( m_strLocationIDParam , null , strID ) ; this . firePropertyChange ( m_strLocationParam , null , strDescription ) ; return data ; }
User selected item.