Print Dialog not poping up from a signed Applet

Hello

I am trying to print a file from a signed applet and i need the default print dialog to pop up on the client side , the applet loads fine shows the certificate and when i try to print it does not do any thing. I am using Jpedal for pdf printing. This works fine when i run it in the applet viewer.

if (printJob.printDialog()) {

//pages to print

decode_pdf.setPagePrintRange(1, decode_pdf.getPageCount());

printJob.setPageable(decode_pdf);

printJob.print(pras);

}

Thanks

Surendra

[546 byte] By [Surendra_Varmaa] at [2007-11-26 16:20:44]
# 1

I found The problem there is nothing wrong with the code but there was an exception in the applet which is not shown on the console. To see the exceptions on an applet in the client side we need to enable the java console in the control panel.

start-->settings-->controlpanel-->java Plug in-->Basic Tab

Enable Show console

Select Show Exception Dialog Box

Thanks

Surendra

Surendra_Varmaa at 2007-7-8 22:44:21 > top of Java-index,Desktop,Core GUI APIs...