@Override
        public void paint(@NotNull Graphics g, @NotNull Consumer<? super Graphics> targetPaint) {
          targetPaint.accept(g);
        }
@Override
        public void paint(@NotNull Graphics g, @NotNull Consumer<? super Graphics> targetPaint)