((CustomEdgeView)view).update();
view.update();
    public void actionPerformed(ActionEvent e)    {      Object cell = graph.getFirstCellForLocation(location.x, location.y);      if(cell == null)      {        return;      }      else      {        CellView view = (graph.getGraphLayoutCache().getMapping(cell, false));        if(view instanceof CustomEdgeView)        {          GraphConstants.setLineWidth(((ResultEdge)cell).getAttributes(), iWidth);          ((CustomEdgeView)view).update();          ((CustomEdgeView)view).getGraph().paint(((CustomEdgeView)view).getGraph().getGraphics());        }      }    }