P
Panther240
Hi
I have a method inside a applet class
public void print()
{
//code
}
I am trying to access the method through HTML using <applet></applet>
I want to do something line Applet.print().
When I try this it gives me a security exception.
I signed the applet.I am able to access events on buttons inside the applet.
void jButton1_actionPerformed(ActionEvent e) {
System.out.println("Button Action Perfomed....Printing");
print();
}//this code works FINE
But when I do Applet.print(). THIS CODE FAILS-security exception.
SUGGESTIONS PLEASE
I have a method inside a applet class
public void print()
{
//code
}
I am trying to access the method through HTML using <applet></applet>
I want to do something line Applet.print().
When I try this it gives me a security exception.
I signed the applet.I am able to access events on buttons inside the applet.
void jButton1_actionPerformed(ActionEvent e) {
System.out.println("Button Action Perfomed....Printing");
print();
}//this code works FINE
But when I do Applet.print(). THIS CODE FAILS-security exception.
SUGGESTIONS PLEASE