public abstract BufferedImage createCompatibleImage(int w, int h, int transparency);
public abstract BufferedImage createCompatibleImage(int w, int h);
  public abstract BufferedImage createCompatibleImage(int w, int h,                                                      int transparency);