How to cut and paste from an applet to a Windows clipboard?
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Umesh_Gajendragadkar
Posted On:   Friday, April 6, 2001 12:53 PM

How to cut and paste from an applet to a Windows clipboard? Is there any such entity
like a clipboard on UNIX?

Re: Re: How to cut and paste from an applet to a Windows clipboard?

Posted By:   Umesh_Gajendragadkar  
Posted On:   Tuesday, July 17, 2001 05:06 PM

I can get it working on NT but not on
SUN Solaris.

The Solaris clipboard pastes some garbage after the selected text.

Re: How to cut and paste from an applet to a Windows clipboard?

Posted By:   Vanasri_Upadhye  
Posted On:   Friday, April 6, 2001 01:12 PM

There is way you have to digital sign the applet and then use
Clipboard clipcopy = getToolkit().getSystemClipboard();
StringSelection ss = new StringSelection(test.getText());
clipcopy.setContents(ss,ss);
About | Sitemap | Contact