Accessing System Clipboard from JApplet
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   P_Nagappan
Posted On:   Sunday, October 28, 2001 11:41 PM

I am trying to access the System Clipboard from JApplet in IE 5.0. The following code is returning "no access" even after setting the permission in "Tools->Internet Option->Security->Intranet->Customize". Is there anyother permission to set, for accessing the system clipboard. Program Code SecurityManager secMan = System.getSecurityManager(); if (secMan!=null) { try { secMan.checkSystemClipboardAccess(); } catch (SecurityException se) { System.out.println("no access"); } }    More>>

I am trying to access the System Clipboard from JApplet in IE 5.0. The following code is returning "no access" even after setting the permission in "Tools->Internet Option->Security->Intranet->Customize". Is there anyother permission to set, for accessing the system clipboard.

Program Code


SecurityManager secMan = System.getSecurityManager();

if (secMan!=null) {

try {

secMan.checkSystemClipboardAccess();

} catch (SecurityException se) {

System.out.println("no access");

}

}

   <<Less

Re: Accessing System Clipboard from JApplet

Posted By:   John_Zukowski  
Posted On:   Monday, October 29, 2001 04:53 PM

As with all attempts to break out of the sandbox, sign your code, trust the applet.
About | Sitemap | Contact