Question

Hi i want to grant

permission java.lang.RuntimePermission "queuePrintJob";

Permission to my java applet which runs on client machine progrmatically in java. Because i can't change the java.policy class of client.
my applet goes like

<applet name="printBarCode" code="printBarCode.TestPrinting2.class" archive="./printBarCode/printBarCode.jar" width="0" height="0"> </applet> 
Was it helpful?

Solution

There are basically 2 strategies you can pursue here:

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top