Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to take a snap shot of a GUI in java

user8557977Jun 24 2013 — edited Jun 26 2013

Hi

   I know how to use Robot class to take a screen shot. But, I would like to take a snap shot of a java Swing GUI.  How can I do that....How can I know the locations of Java GUI in the screen.

Please let me know

Thanks

Prashanth

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Jul 24 2013
Added on Jun 24 2013
1 comment
1,266 views