> I want to create a bitmap (an Image of some sort in Java?) from a graphics
> display in one Swing component and blit it to another Swing component to be
> displayed.
BufferedImage buffer;
void paint2image(JComponent c) {
Dimension d = c.getSize();
buffer = new BufferedImage(d.width, d.height,
BufferedImage.TYPE_INT_ARGB);
Graphics g = buffer.getGraphics();
c.paintComponent(g);
g.dispose();
}
____________
http://reader.imagero.com the best java image reader.