Z
Z
I've created a JFrame (name: SalesEntryForm) in my visual designer
(NetBeans).
When I try to instantiate that JFrame within my JApplet's start() or
init() method:
SalesEntryForm entryForm = new SalesEntryForm();
I get this error:
exception: java.security.AccessControlException: access denied
(java.lang.RuntimePermission exit VM.0)
Oddly, I can instantiate a simple JFrame without error:
JFrame entryForm = new JFrame();
What's going on?! What am I doing wrong?
How do I remedy this error?
Also, what's the most efficient way to debug a JApplet? I'm resorting to
trial and error because I haven't found a way to run a JApplet in the
IDE debugger.
(NetBeans).
When I try to instantiate that JFrame within my JApplet's start() or
init() method:
SalesEntryForm entryForm = new SalesEntryForm();
I get this error:
exception: java.security.AccessControlException: access denied
(java.lang.RuntimePermission exit VM.0)
Oddly, I can instantiate a simple JFrame without error:
JFrame entryForm = new JFrame();
What's going on?! What am I doing wrong?
How do I remedy this error?
Also, what's the most efficient way to debug a JApplet? I'm resorting to
trial and error because I haven't found a way to run a JApplet in the
IDE debugger.