What policies/permissions are needed to use drag and drop in an applet?

John Zukowski

According to the Drag and Drop FAQ:


grant {
  permission java.awt.AWTPermission 
    "accessEventQueue";
  permission java.awt.AWTPermission 
    "setDropTarget";
  permission java.awt.AWTPermission 
    "accessClipboard";
  permission java.awt.AWTPermission 
    "acceptDropBetweenAccessControllerContexts";
  permission java.awt.AWTPermission 
    "listenToAllAWTEvents";
};
0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact