Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

ScreenCapture  RSS feed

 
rama krishnan
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!