public void actionPerformed(ActionEvent e){
    	//PopupMenu listener    
	    	if ("Add".equals(e.getActionCommand()))
	    		addObjective();    	
	    	else if ("Remove".equals(e.getActionCommand())){
	    		removeObjective();
	    		addBranchToList();
	    	}
	    	else if ("Delete".equals(e.getActionCommand())){
	    		if (listed_objs.contains(lblSel)){
	    			listed_objs.remove(listed_objs.indexOf(lblSel));
	    			repaintList();
	    		}	    			
	    		else
	    			removeObjective();
	    	}
	    	else if ("Rename".equals(e.getActionCommand()))
	    		renameObjective();
	    	else if ("Details".equals(e.getActionCommand()))
	    		showDetails();  	    	
	    	else if ("test".equals(e.getActionCommand())){
	    		for (Enumeration en = root_node.breadthFirstEnumeration(); en.hasMoreElements(); ){
	    		}
	    			
	    	}
    }