i made a small application/program in java like this using NETBEANS
iff u cant see the image properly herre is the link
so what i want is when i click the save button in the below it should save the frame / the contents in the frame as same in picture shown as a PDF file or an image(.png/jpg/jpeg/.......) formats
and it should ask me in which directory it should save the file/image.
can anyone please help me ASAP