Applet and Drag and Drop
I have an applet that has been deployed and working fine for the last 5 years as the user interface for an embedded system. I am receiving reports that part of our interface that uses Drag and Drop has stopped working an is generating security exceptions. Specifically:
java.security.AccessControlException: access denied (java.awt.AWTPermission accessClipboard)
I'm looking for a way to work around this since I care nothing about the clipboard. It's a simple case of the user dragging from one part of the applet and dropping on another part of the same applet. None of the data exchanged should involve the clipboard. It is instance and time specific and is absolutely useless outside the applet.
Is there anyway to tell the DnD framework to leave the clipboard out of this?