@Override
  public void setAnchor(@Nullable JComponent anchor) {
    myAnchor = anchor;
    for (Object o : myOptions) {
      if (o instanceof Pair && ((Pair<?, ?>)o).first instanceof AnchorableComponent) {
        ((AnchorableComponent)((Pair<?, ?>)o).first).setAnchor(anchor);
      }
    }
  }
@Override
  public void setAnchor(@Nullable JComponent anchor)