I used the sample code on the web for PrintPreviewDialog. The preview window opens but it shows nothing in the window. No errors in the log file either. Any idea what might be the issue? I tried both pj.setPageable and p…...occur with some particular document? If so, please attach the...the problematic document here for testing. Also, please try using...