shivnath 0 Newbie Poster

Hi all,
I am doing a project work and I need to take the image(just as screenshot) of the first page of any file so that contents of that first page can be viewed by that image .
And finally i want to set that image as an icon for that file.
I have used "java.awt.Robot" class for taking desktop screenshot but I am not able to find out the way how we can take image of first page of any file by just giving the url of that file even if file is closed. Can any one help me? Waiting for your kind reply..........

Thanks in advance!!

Be a part of the DaniWeb community

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