public void mousePressed(MouseEvent me){
            if(SwingUtilities.isRightMouseButton(me)){
            	if (table.columnAtPoint(me.getPoint()) == 0){
	             	int index=table.getSelectedRow();
	     			popAlternative.show(me.getComponent(), me.getX()+5, me.getY()+5);            	
	            	if(index==-1){
						menuRemove.setEnabled(false);
						menuRename.setEnabled(false);
	            	}
	            	else{
	            		menuRemove.setEnabled(true);
	            		menuRemove.setEnabled(true);
	            	}
            	}
         	}
            else if (SwingUtilities.isLeftMouseButton(me)){
            	try{
	            	JTable tab = (JTable)(me.getSource());
	            	if (tab.isEditing()){
	            		last_value = (tab.getValueAt(tab.getSelectedRow(), tab.getSelectedColumn())).toString();
	            		System.out.println("last_value: " + last_value);
	            	}
            	}	catch (java.lang.ClassCastException cce){}
        			catch (java.lang.NumberFormatException nfe){}
        			catch (java.lang.NullPointerException npe){
        				last_value = null;
        			}
            }         	
		}