Duplicate :
|
Application does not terminate after calling PrinterJob.printDialog() Steps to reproduce the problem: 1. Compile and run Test.java 2. Cancel print dialog. 3. The application does not terminate on 1.6. Running under 1.5 it terminates. --- Test.java import java.awt.print.PrinterJob; public class Test { public static void main(String[] args) { PrinterJob.getPrinterJob().printDialog(); } } ---