Java applets

In any Java application,copying from a text area works.In java applets it does not work as it copies into a clipboard.When i paste it i am not getting the current data that is copied.Which method should i use
[215 byte] By [aramakria] at [2007-11-27 5:08:01]
# 1
I never touch applets, but don't you run into a security restriction tryingto access the system clipboard from an untrusted applet? If you don't not really need to access the clipboard, can you just code around this?
Hippolytea at 2007-7-12 10:27:22 > top of Java-index,Java Essentials,New To Java...
# 2
Odd. I was not aware that text fields in applets would have that problem. Maybe it's just for AWT text fields, not Swing?
bsampieria at 2007-7-12 10:27:22 > top of Java-index,Java Essentials,New To Java...
# 3
If paste worked, couldn't an applet grab something potentially confidential from the system clipboard?
Hippolytea at 2007-7-12 10:27:22 > top of Java-index,Java Essentials,New To Java...
# 4
I thought that it had to be triggered somehow by user action, not programatically. It definitely works via keyboard shortcuts in an unsigned AWT-based applet and in a signed Swing-based applet.
bsampieria at 2007-7-12 10:27:22 > top of Java-index,Java Essentials,New To Java...
# 5
although, if it's IE/Vista, that could be different, I guess. Java version could have something to do with it too.I was using FireFox on XP, Java 1.5
bsampieria at 2007-7-12 10:27:22 > top of Java-index,Java Essentials,New To Java...