Java Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesJava Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old January 22nd, 2003, 02:23 PM
IrinaIonela IrinaIonela is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2001
Location: Lisbon
Posts: 45 IrinaIonela User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Arrow 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?

Best Regards,

Irina/Lisbon/Portugal

Reply With Quote
  #2  
Old January 23rd, 2003, 01:28 AM
M.Hirsch M.Hirsch is offline
Contributing User
Dev Shed God 1st Plane (5500 - 5999 posts)
 
Join Date: Oct 2000
Location: Back in the real world.
Posts: 5,969 M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Month 1 Day 22 h 39 m 55 sec
Reputation Power: 184
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.

Reply With Quote
  #3  
Old January 23rd, 2003, 02:29 AM
IrinaIonela IrinaIonela is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2001
Location: Lisbon
Posts: 45 IrinaIonela User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
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

Reply With Quote
  #4  
Old January 23rd, 2003, 12:30 PM
M.Hirsch M.Hirsch is offline
Contributing User
Dev Shed God 1st Plane (5500 - 5999 posts)
 
Join Date: Oct 2000
Location: Back in the real world.
Posts: 5,969 M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Month 1 Day 22 h 39 m 55 sec
Reputation Power: 184
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...

Reply With Quote
  #5  
Old January 23rd, 2003, 02:42 PM
Nemi Nemi is offline
Clueless llama
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Feb 2001
Location: Lincoln, NE. USA
Posts: 2,353 Nemi User rank is First Lieutenant (10000 - 20000 Reputation Level)Nemi User rank is First Lieutenant (10000 - 20000 Reputation Level)Nemi User rank is First Lieutenant (10000 - 20000 Reputation Level)Nemi User rank is First Lieutenant (10000 - 20000 Reputation Level)Nemi User rank is First Lieutenant (10000 - 20000 Reputation Level)Nemi User rank is First Lieutenant (10000 - 20000 Reputation Level)Nemi User rank is First Lieutenant (10000 - 20000 Reputation Level)Nemi User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 2 Days 12 h 35 m 19 sec
Reputation Power: 111
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.

Reply With Quote
  #6  
Old April 21st, 2003, 07:11 PM
AlexPerekrest AlexPerekrest is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Posts: 1 AlexPerekrest User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesJava Help > Windows Clipboard to Java Applet Swing Text area


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway