Documentation Contents

DnD Enhancements in Java SE 7

The following enhancement is added to JDK 7

Area: API: DnD
Standard/Platform: JDK 7
Synopsis: Because of some security enhancements, some operations for untrusted applications throw or print exceptions. For instance, if during a drag and drop operation the mouse pointer is dragged over an untrusted Java application, the applications can retrieve the transferred data only in the drop callback method. Another example is the clipboard implementation. In an untrusted application, the user cannot access the system clipboard without the java.awt.AWTPermission.accessClipboard permission.


Oracle and/or its affiliates Copyright © 1993, 2022, Oracle and/or its affiliates. All rights reserved.
Contact Us