How to Embed screenshotter on java apps.