The fix for JDK-8088395 introduced a dependency on sun.print, which is an internal package of java.desktop, in javafx.graphics.
The following is used by J2DPrinterJob to pass the owner FX window to the Java2D print dialog:
onTopClass = Class.forName("sun.print.DialogOnTop");
The following is used by J2DPrinterJob to pass the owner FX window to the Java2D print dialog:
onTopClass = Class.forName("sun.print.DialogOnTop");
- blocks
-
JDK-8195798 ☂ Address dependencies in javafx.* modules on internal APIs of core modules
- Resolved
- is blocked by
-
JDK-8203796 Define API to support specifying ownership of print dialogs
- Resolved
- relates to
-
JDK-8088395 Print dialogs are not blocking/modal w.r.t specified owner windows
- Resolved