This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "ScreenCapture" Watch "ScreenCapture" New topic
Author

ScreenCapture

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?


MRK
Andre Uhres
Greenhorn

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
 
Don't get me started about those stupid light bulbs.
 
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?