This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes ScreenCapture Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "ScreenCapture" Watch "ScreenCapture" New topic


rama krishnan
Ranch Hand

Joined: Mar 14, 2008
Posts: 68
Using the BufferdImage, Robot, and Rectangle class, I'm capturing the screen shot, but I cann't capture whole part of screen, because some part is hide by scrollbar

How can I capture the whole part of screen?

Andre Uhres

Joined: Nov 23, 2008
Posts: 23
I'm not sure if I understand well the question.
If you mean to have an image of the component contained in a JScrollPane,
we may simply print it to the Graphics of a BufferedImage. Something like this:
rama krishnan
Ranch Hand

Joined: Mar 14, 2008
Posts: 68
Thank you very much
now I got the solution
its working properly

Thanks once more
I agree. Here's the link:
subject: ScreenCapture
Similar Threads
Questions about a screen capture tool
Question about a screen capture tool.
How to Active Screen Capture
Serlvet to display image - how to prevent client from "Save As Image" ?
JMF driving me crazy, help! and are there easier ways of capturing still images?