permaculture playing cards*
The moose likes Applets and the fly likes Cut, copy, paste in unsigned apple Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "Cut, copy, paste in unsigned apple" Watch "Cut, copy, paste in unsigned apple" New topic
Author

Cut, copy, paste in unsigned apple

Barry Andrews
Ranch Hand

Joined: Sep 05, 2000
Posts: 523

Hi All,

I understand there are security concerns with accessing the system clipboard from an unsigned applet. However, a user can do hot keys, CTRL-X, CTRL-C, CTRL-V to access the system clipboard from an unsigned applet. So why can't I hook up a DefaultEditor.CopyAction to a popup menu on a text field and make that work. Whether the user is invoking a right mouse click "Copy" or doing CTRL-C, it's the same action ( or it should be ). So what's up with the mouse click copy? That only copies to the local clipboard. CTRL-C copies to the system clipboard. What am I missing?

thanks,

B
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Cut, copy, paste in unsigned apple