We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Preview Dialog doesnt work

Hello, team!

CAn we help me? I tried to run DocumentPreviewAndPrint. But it doesnt work with error.
Exception in thread “main” java.lang.NullPointerException
at ua.com.theta.printview.PrintPreviewDialog.populateZoomComboBox(PrintPreviewDialog.java:349)
at ua.com.theta.printview.PrintPreviewDialog.init(PrintPreviewDialog.java:135)
at ua.com.theta.printview.PrintPreviewDialog.(PrintPreviewDialog.java:111)
at ua.com.theta.printview.DocumentPreviewAndPrint.main(DocumentPreviewAndPrint.java:63)

Is it probably I am using Eclipse, not Intellij. What are you need to change to make it work

Thank you advance

Details. I’m usin eclipse IDE, not Intelli. Can you help me create the dialog for Eclipse

Hi Boris,

Thanks for your inquiry. Yes, you are using the Intellij project. Please use the attached DocumentPreviewAndPrint eclipse project. Hope this helps you.

Please let us know if you have any more queries.

Hello, all!

It works! I mean an example, sent support team.
Thank you

Hi Boris,

Thanks for your feedback. Please feel free to ask if you have any question about Aspose.Words, we will be happy to help you.