creating image...

Hi,
I've draw an image on JPanel in my program. Now, I'd like to save it to file. How can I read pixels and create image to save it?
[146 byte] By [Marcelina] at [2007-11-19 11:11:51]
# 1 Re: creating image...
do you want to save the whole graphical context or only visible part of your JPanel?
bolshik at 2007-11-10 2:23:00 >