Posts Tagged: Applet


4
Aug 09

Clipboard java applet

The source code my previous post about a clipboard image applet is now available here: PasteImageApplet.zip

The code lets you post images from your clipboard directly to the webserver to avoid the need to go through Photoshop or another image application.

When you compile your own applet using javac, you’ll need to sign it in order to be able to get access to the clipboard. (I have signed the applet contained in the zip and the certificate expires 6 months from July 19th, 2009, around January 19th, 2010).

If you find it useful or somebody else has already done this (and somebody surely has, but I didn’t have any luck finding it on Google), please write me in the comments.

Thanks.
- Lasse


19
Jul 09

Using the clipboard to post images

Update: The source code for this demo is now available here: Clipboard java applet

I just did a small test to see if it was possible to post images from the clipboard to a webapp.. and it is, using a signed applet.

The concept is to grab the image, post it to a php-script and then return the URL of the new image. Check it out here. (The applet code is rewritten from here).

Or if you don’t like trusting me to run my home made signed applet, just view this video: ;-)

Recorded with ScreenToaster

Fork me on GitHub