if (hgap < 0) throw new IllegalArgumentException ("horizontal gap must be nonnegative");
  public void setHgap (int hgap)  {    if (hgap < 0)      throw new IllegalArgumentException ("horizontal gap must be nonnegative");    this.hgap = hgap;  }