Home > Archive > Java Help > June 2007 > Copying the content from a clipboard to Appletviewer
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Copying the content from a clipboard to Appletviewer
|
|
| apsan11@gmail.com 2007-06-18, 8:10 am |
| How can we copy content from a clipboard to an Appletviewer?
| |
| Tom Hawtin 2007-06-18, 8:10 am |
| apsan11@gmail.com wrote:
> How can we copy content from a clipboard to an Appletviewer?
To an applet running in the appletviewer? Ctrl-V in a text component
should do it for text, I think. Anything more complex and, I think,
you'll have to resort to drag and drop.
Tom Hawtin
| |
| Andrew Thompson 2007-06-18, 10:11 pm |
| apsan11@gmail.com wrote:
>How can we copy content from a clipboard to an Appletviewer?
Why Applet viewer?
Note that the code will need to be trusted in order to
use the D'n'D classes Tom mentioned, if run in the
default applet viewer from the desktop.
But if it is being run from the desktop - an application
(which gets full privileges) makes a lot more sense.
Web start uses the applet viewer by default, & I
cannot understand why else you would say you
are running this applet using applet viewer.
The clipboard can be accessed* using the web start
API in a sandboxed application or applet** that is
launched using web start.
* <http://www.physci.org/jws/#cbs>
** <http://www.physci.org/jws/#jtest>
--
Andrew Thompson
http://www.athompson.info/andrew/
Message posted via JavaKB.com
http://www.javakb.com/Uwe/Forums.as...-setup/200706/1
|
|
|
|
|