|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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? Best Regards, Irina/Lisbon/Portugal |
|
#2
|
|||
|
|||
|
Didnīt i answer this yesterday somewhere? Ah, here: http://forums.devshed.com/t50268/s.html how many times and where did you post this also?
__________________
-- Manuel Hirsch - Linux, FreeBSD, programming, administration articles, tutorials and more. |
|
#3
|
|||
|
|||
|
reply number
Hello H.
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 ? Regards, Irina |
|
#4
|
|||
|
|||
|
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... |
|
#5
|
|||
|
|||
|
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. |
|
#6
|
|||
|
|||
|
I've got the same problem
2 Irina
as I understand there are 2 solutions: 1) to use JavaScript, which will post data from clipboard to your applet 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) ;-) Regards Alex |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Java Help > Windows Clipboard to Java Applet Swing Text area |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|