• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 196
  • Last Modified:

Looking for a way to drag and drop from MS Excel into a Java Applet

When we originally wrote our product we used version 1.3.0_02 of the Java Runtime Environment.  At that time it supported drag and drop from the Windows Clipboard.  It has oviously taken us a while to get around to fixing this problem, but now it is essential.  Sun's newer versions of the JRE no longer support the drag and drop from the Windows Clipboard into an Applet.  Can you describe a work around?

Thank you, cbasoli@edeploy.com
0
cbasoli
Asked:
cbasoli
1 Solution
 
CEHJCommented:
Sign the applet or alter the security policy.
0
 
girionisCommented:
 If you go for altering the security file you need to give it a: permission java.awt.AWTPermission "accessClipboard"; permission.
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
girionisCommented:
> Sun's newer versions of the JRE no longer support the drag and drop from the Windows Clipboard into an Applet.  Can you describe a work around?

  Where did you read that? March's tech tips from JDC show how you can do it from JRE1.4 (http://developer.java.sun.com/developer/JDCTechTips/2003/tt0318.html#1 - if you are interested).
0
 
TimYatesCommented:
you will have to sign the applet tho...

System clipboard is restricted for unsigned applets
0
 
objectsCommented:
> supported drag and drop from the Windows Clipboard.

How do you dnd something from/to the clipboard anyway?
Doesn't seem to make sense, unless you have some window representing the clipboard that you can drag and drop things in and out of.
0
 
cbasoliAuthor Commented:
Everybody I've asked has told me the same thing, but since you were the first to answer, I'll give you the points.

In order to access the Windows Clipboard you need to sign your applet.  It's been two days and I can't tell what a pain it is getting a signed applet to work properly on iPlanet!

Thanks, 'Soli
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now