January 22nd, 2003, 02:23 PM
Windows Clipboard to Java Applet Swing Text area
I have an application that consists on a HTML embeded java applet with a text-area.
The main usage of this application consists in text transfer between windows text editors and the Java-applet text area.
I've tried to use windows clipboard to copy-paste data but
it's seems there is no possible data transfer between them.
It's hard to believe that nobody remembered this for Java. Does anyone know what do i need to configure, to program on the applet or if there is a specific version of the JRE that i need to solve this, ore something else?
January 23rd, 2003, 01:28 AM
January 23rd, 2003, 02:29 AM
Yes, you did, I've posted this 2 times, you answered both.
So,you're saying that this is possible to solve by installing ActiveX MS ?
January 23rd, 2003, 12:30 PM
cross-posting is very bad habit. and i am not following two threads for the same problem.
sorry, no help from me until you deleted one of these posts...
January 23rd, 2003, 02:42 PM
With Java < 1.4 this is indeed true. You need to make your applet a signed applet to access the clipboard for security reasons.
However, I believe with > 1.4 the clipboard is accessible from an applet. The reason I say this is that our intranet uses some applets and I have been using jre 1.3. We recently tried 1.4.1_01 out because 1.4.1 had some problems and I wanted to see if they were rectified in this latest release (they werent). In the brief time I had a 1.4 applet out there I seem to remember thinking that I could at least copy out of the applet into the clipboard. I do not know if it can implicitly read from the clipboard though.
Hope this helps.
April 21st, 2003, 07:11 PM
I've got the same problem
as I understand there are 2 solutions:
2) to change java-security settings on client computer
I have a couple of days to figure out which one of these 2 ways is easier, and will be very gratefull for any suggestions (I believe you've already solved this issue) ;-)