wood burning stoves 2.0*
The moose likes Swing / AWT / SWT and the fly likes Screen capture of web page? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Screen capture of web page?" Watch "Screen capture of web page?" New topic
Author

Screen capture of web page?

chsanthosh kumar
Ranch Hand

Joined: Jun 28, 2005
Posts: 56
Hi ,

I gone through the search for getting a screen shot of web page.

I got the below code for getting screen shot of window or desktop.

But in my case I need to capture web page given url as screen shot (or image).



Any help related to get screen shot of desired web page.

Thanks


---------------------<br />SCJP(1.4)With 95%<br /> <br />Do it Right and Forget it!
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8935
    
    9

How about opening the page in a web browser then taking the screenshot.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
chsanthosh kumar
Ranch Hand

Joined: Jun 28, 2005
Posts: 56
thanks for quick reply,

Is there any thoughts for able to do that.

Thanks
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8935
    
    9

A google search for "java open web browser" returns such interesting results as this and this.
[ March 29, 2007: Message edited by: Joe Ess ]
chsanthosh kumar
Ranch Hand

Joined: Jun 28, 2005
Posts: 56
Hi ,

I got the solution for open webbrowser and capture screen shot of that webpage.

here is my code:


By using this code It is not capturing all the web page.

Please suggest me to achieve this.

Thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Screen capture of web page?