How to get Image from JPanel

How can I get the image from JPanel?

I have drawn an Image on JPanel and some rectangles on it, but I dont know how can I get that image back from that JPanel?

I mean how can I save that edited Image?

any idea?

plz....

[249 byte] By [student@sunDNa] at [2007-11-27 10:38:11]
# 1

I posted my response at 1:02. You posted a new question at 1:15. You didn't spend much time searching the forum. So I'll give you a day to learn how to use the search feature...

camickra at 2007-7-28 18:52:53 > top of Java-index,Desktop,Core GUI APIs...