public static @NotNull BufferedImage createImage(int width, int height, int type) {
    return createImage((GraphicsConfiguration)null, width, height, type);
  }
public static @NotNull BufferedImage createImage(int width, int height, int type)