Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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


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
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: ScreenCapture
 
It's not a secret anymore!