--- old/modules/graphics/src/main/java/javafx/stage/Window.java 2016-06-03 11:04:39.221423192 -0700 +++ new/modules/graphics/src/main/java/javafx/stage/Window.java 2016-06-03 11:04:39.037423194 -0700 @@ -67,6 +67,7 @@ import javafx.beans.property.SimpleBooleanProperty; import static com.sun.javafx.FXPermissions.ACCESS_WINDOW_LIST_PERMISSION; +import com.sun.javafx.scene.NodeHelper; import com.sun.javafx.scene.SceneHelper; @@ -797,7 +798,7 @@ // window is already showing. For not yet shown windows, the update is // performed in doVisibleChanging() if (isShowing()) { - newScene.getRoot().impl_reapplyCSS(); + NodeHelper.reapplyCSS(newScene.getRoot()); if (!widthExplicit || !heightExplicit) { SceneHelper.preferredSize(getScene()); @@ -1194,7 +1195,7 @@ */ private void doVisibleChanging(boolean visible) { if (visible && (getScene() != null)) { - getScene().getRoot().impl_reapplyCSS(); + NodeHelper.reapplyCSS(getScene().getRoot()); } }