0 Replies Latest reply: May 27, 2008 5:43 AM by 843851 RSS

    In pbp, BufferedImage

    843851
      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)