{ x = s; if ((width != null) && (east != null)) width = Spring.sum(east, Spring.minus(x)); }
setX(s);
    public void setConstraint(String edgeName, Spring s)    {          if (edgeName.equals(SpringLayout.WEST))        {          x = s;	  if ((width != null) && (east != null))            width = Spring.sum(east, Spring.minus(x));        }      else if (edgeName.equals(SpringLayout.NORTH))        {          y = s;          if ((height != null) && (south != null))          height = Spring.sum(south, Spring.minus(y));        }      else if (edgeName.equals(SpringLayout.EAST))        {          east = s;          if ((x != null) && (width != null))            x = Spring.sum(east, Spring.minus(width));        }      else if (edgeName.equals(SpringLayout.SOUTH))        {          south = s;          if ((height != null) && (y != null))	    y = Spring.sum(south, Spring.minus(height));        }    }