}
  public float getLayoutAlignmentX(Container parent)  {    if (container != parent)      throw new AWTError("BoxLayout can't be shared");        checkTotalRequirements();    return xTotal.alignment;  }