tools/SharedTestUtilsOpen/src/test/javaclient/shared/CombinedTestChooserPresenter3D.java

Print this page

        

*** 26,35 **** --- 26,36 ---- import javafx.scene.Scene; import javafx.scene.layout.Pane; import javafx.scene.Group; import javafx.stage.Stage; + import com.sun.javafx.stage.WindowHelper; /** * * @author shubov */
*** 65,74 **** fillScene(); stage.setScene(getScene()); stage.show(); stage.toFront(); setNodeForScreenshot(null); ! stage.setFocused(true); } } --- 66,76 ---- fillScene(); stage.setScene(getScene()); stage.show(); stage.toFront(); setNodeForScreenshot(null); ! //stage.setFocused(true); ! WindowHelper.setFocused(stage, true); } }