• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

copy 'n paste text to a JTextArea in an applet

 
Michaela Fricker
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I wrote an applet for the intranet, you can load files, they are displayed in an JTextArea and then you can extract the text.
My problem is that some colleagues can copy 'n paste text into the JTextArea and others not. We all use the same PlugIn Version, so I don't understand how this can be...
Michaela
 
Yatharth Kumar
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
You cannot share windows clipboard for unsinged applets. It means, if your applet is not signed (untrusted) you cannot copy something into windows clipboard and paste into the applet. You should still be able to copy-paste within the applet itself.
Try packaging the applet class file in a jar and sign it using jarsigner and keytool. You can find details on java.sun.com
Hope this helps.
Cheers
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic