@Override
  public void paintFrameFinished(@NotNull Graphics g) {
    if (isActive()) {
      myFrameCount.incrementAndGet();
      if (myHelper != null)
          myHelper.paintFrameFinished(getFps());
      drawFps(g);
    }
  }
@Override
  public void paintFrameFinished(@NotNull Graphics g)