Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Save JScrollPane as Image  RSS feed

 
Jeff Storey
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi. I'm trying to save the contents of a JScrollPane as an image. I'm doing the following:



comp seems to write out fine when it's not in a JScrollPane, but when it is, not all of the scrolling area is properly written out. Does anyone know what I am doing wrong?
 
Jeff Storey
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Scratch that - it was a problem with the bounds of the component in the JScrollPane, sorry.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!