• Post Reply Bookmark Topic Watch Topic
  • New Topic

Capture "part" of a component to Image  RSS feed

 
Raf Szczypiorski
Ranch Hand
Posts: 383
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi. I have a JList and a Rectangle that describes the part of the JList I want to capture. How can draw only this fragment to a BufferedImage?
Thanks,
Raf
 
Rob Camick
Ranch Hand
Posts: 2756
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can use the Screen Image class.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!