How to call print dialog box through JMenuItem?

What is the way to call the print dialog box through JMenuItem to print the current page like we can do in javascript by calling window.print() function?

View Answers









Related Tutorials/Questions & Answers:
Advertisements