I use java8. I have a main window (stage) and when I click at button "print" 
the following code is executed:
PrinterJob job =PrinterJob.createPrinterJob();if(job !=null&& 
job.showPrintDialog(null)){
  webView.getEngine().print(job);
 job.endJob();}
The printer dialog appears. But! it appears behind the main window but not in 
front of main window! This strange behaviour happens only when dialog appears 
the first time. The second and other times it's in front of the main window. 
How to fix it?


-- 
Александр Свиридов

Reply via email to