I decided to write an applet as I run a technical challenge/puzzle site and wanted to create a tool to help users along the way. You can view the work in progress here:
http://sabrefilms.co.uk/store/app.php I am aware however that since java 6 update 24, copy/paste to/from applets to the main system clipboard has been disabled due to security measures, which is understandable.
I have considered signing the applet to create a policy file allowing clipboard access, however I would prefer it if the user wouldn't have to go through the process of verifying a signed applet (My regular users trust the site anyway but that isnt the point ;) )
I thought about creating a HTML field where the user can enter their string, have this saved to a temporary plaintext on the server, then read in by the applet, doing the same in reverse for output, but this would require an extra step for the user to import/export data.
Do you have any suggestions you can offer around this? Is a signed applet really the way to go?
posted 4 years ago
If you're amenable to using an HTML text field for this, then Java can access those through the Common DOM API (see the section "Contact the DOM"). The applet need not be signed to do this.