I am creating a tool where a user takes a screen shot of the users report and paste all in a word document. I am working on a tool which automates this, im my application the user click snapShot button on the screen where the snapshot is to taken, the screen is captured and pasted in a word document. I am done with taking screen shot by using the ROBOT class in java, but im stuck with pasting that in word document, ImageIO class in java has a method write which allows to copy the image in Jpeg or bmp file but , when tried to write in a word document, im not able to view the content. Please provide a solution.

Look at the Apache packages for interfacing with MS word documents.
It is not part of standard java.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.