@Deprecated(forRemoval = true)
  public static void applyRenderingHints(@NotNull Graphics g) {
    GraphicsUtil.applyRenderingHints((Graphics2D)g);
  }
@Deprecated(forRemoval = true)
  public static void applyRenderingHints(@NotNull Graphics g)