Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem with Java Webstart & clipboard copy/paste feature



Hi all,

I'm trying to port a standalone java application to a java webstart launcher. I have made all the work and this seems to work well. This is for an intranet so I have allowed a all-permission security to my application and signed all my jars.

In fact, this application works well on Mac OSX 10.4 except for one feature : the copy/paste function from system clipboard to my application (in a JTextField by example). There is no security exception but my application uses a "private clipboard"... i.e. I can paste and copy from one JTextField to another in my application but I can't transfer data from or to the system (in a TextEdit document by example) !!!???

I have tested the application from java webstart on a PC under win98 and it works well with the system clipboard.
Under Mac OSX, in a standalone format, I have no problem and I can copy/paste with the system...


I have tested the method "SwingUtilities2.canAccessSystemClipboard()" and it returns true...

So, I don't understand where this behaviours comes from ??? Is there a bug in the swing lib in the JDK 5.0 from Apple ?
I don't find any information about such a bug...


If any of you has an idea to help me ?
thanks in advance

Seb
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.