public void mousePressed( MouseEvent e ) { IeppCell ic = (IeppCell)this.getFirstCellForLocation(e.getX(),e.getY()); if(boutonLierActif == true){ GraphConstants.setMoveable(ic.getAttributes(), false); this.repaint();  if ( this.getFirstCellForLocation(e.getX(),e.getY()) != null) { firstMouseEvent = e;  }else{
public void mousePressed(MouseEvent e) { if (this.getFirstCellForLocation(e.getX(), e.getY()) instanceof IeppCell) { IeppCell ic = (IeppCell) this.getFirstCellForLocation(e.getX(), e .getY()); if (boutonLierActif == true) { GraphConstants.setMoveable(ic.getAttributes(), false); this.repaint();  if (this.getFirstCellForLocation(e.getX(), e.getY()) != null) { firstMouseEvent = e;  } else {  firstMouseEvent = null; } } else { GraphConstants.setMoveable(ic.getAttributes(), true); this.repaint();
	public void mousePressed( MouseEvent e )	{		IeppCell ic = (IeppCell)this.getFirstCellForLocation(e.getX(),e.getY());		if(boutonLierActif == true){			GraphConstants.setMoveable(ic.getAttributes(), false);			this.repaint();					if ( this.getFirstCellForLocation(e.getX(),e.getY()) != null) {	        	firstMouseEvent = e;							}else{								firstMouseEvent = null;			}	 	}		else		{			//GraphConstants.setMoveable(ic.getAttributes(), true);			//this.repaint();			firstMouseEvent = null;		}	}