@Override
  public void paint(@NotNull Graphics2D g, int x, int y, int width, int height, Object object) {
    myImageY = y;
    super.paint(g, x, y, width, height, object);
  }
@Override
  public void paint(@NotNull Graphics2D g, int x, int y, int width, int height, Object object)