(and gc is a GraphicsConfiguration object)
Though that solution will not work for source images that contain transparent/translucent pixels (such as those obtained from gif and png files).
If you want to copy an Image containing transparency infomation into a BufferedImage, the code would be a little different :-
BufferedImage bi = gc.createCompatibleImage(width, height, Transparency.TRANSLUCENT);
Graphics2D g = bi.createGraphics();
//the src image(and alpha channel) is simply copied
g.setComposite(AlphaComposite.Src);
g.drawImage(comboImage,0,0,width,height,null);
rob,