Hi,
I have a requirement to enable cut & paste from the menu in an
applet. I have code that works in an applet viewer but not through the web server, although, cut & paste work on the web server when invoked with key combination (Ctl-C, Ctl-V, Ctl-X). I'm using the JTextComponent cut, copy, and paste methods in both cases, It think.
I assume the security manager is looking at where the event originated to determine access to the system clipboard, i.e. the control key combination is originating from swing (trusted code) and the menu event is originating from my code (untrusted code).
Is there a way to do this without modifying browser permissions? If not, I can go to a code base level permission scheme, but I'd rather not muck the browser permission if I don't have to.
Thanks for any help/advice you can give.