I have a project to save an image from canvas to file.
I have tried googling for 3 days and nothing works.
Can anybody show me how to do it.
I have search from this forum and this is what i get.
" Create a new buffered image. Get its Graphics. Draw your canvas on the Graphics. (Use your existing paintComponent method and pass the BufferedImage's Graphics to it.) "
well i dont realy understand how to code it. Please give me an example how it should be done.