@Override
  public void setMaximalThickness(int thickness) {
    super.setMaximalThickness(thickness);
    myPainter.setMaximalThickness(getMaximalThickness());
  }
@Override
  public void setMaximalThickness(int thickness)