Posted By:
Ivo_Rahov
Posted On:
Friday, June 2, 2006 03:42 AM
Ive made an applet using threads in it: class MyApplet extends JApplet { Private void m_TreeMouseClicked(java.awt.event.MouseEvent evt){ try{ new MyThread().start(); }catch(Exception e) ... class MyThread extends Thread{ public void run(){} } } But any time when I try to debug I get exception: e.getClass.getName(): java.security.AccessControlException e.getMessage(): access denied (java.lang.RuntimePermission modify ThreadGroup) I have no problem to build it. When I start it in the browser (IE or Firefox) no problems. But I need to be able to debug in the NetBeans IDE.
More>>
Ive made an applet using threads in it:
class MyApplet extends JApplet
{
Private void m_TreeMouseClicked(java.awt.event.MouseEvent evt){
try{
new MyThread().start();
}catch(Exception e)
...
class MyThread extends Thread{
public void run(){}
}
}
But any time when I try to debug I get exception:
e.getClass.getName(): java.security.AccessControlException
e.getMessage():
access denied (java.lang.RuntimePermission modify ThreadGroup)
I have no problem to build it. When I start it in the browser (IE or Firefox) no problems.
But I need to be able to debug in the NetBeans IDE.
Ill appreciate any help...
<<Less