@Override
  public Component add(Component comp, int index) {
    Logger.getInstance(JBLayeredPane.class)
      .warn("Probably incorrect call - constraint as primitive integer will be used as index", new Throwable());
    addImpl(comp, null, index);
    return comp;
  }
@Override
  public Component add(Component comp, int index)