0 Replies Latest reply on May 27, 2008 10:43 AM by 843851

    In pbp, BufferedImage

      Hello everybody.
      Under j2me pbp, the BufferedImage can be obtained by "new".
      I got it by:
      GraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment();
      GraphicsDevice gd = ge.getDefaultScreenDevice();
      GraphicsConfiguration gc = gd.getDefaultConfiguration();
      BufferedImage bimg = gc.createCompatibleImage(width,height);
      But I can't find a way to specify the type. Can someone help me?
      Thank you very much. :o)