List of usage examples for javafx.scene.layout HBox getScene
public final Scene getScene()
From source file:org.pdfsam.ui.commons.ClosePaneTest.java
@Test public void hide() { Assume.assumeTrue(!SystemUtils.IS_OS_WINDOWS); click("show"); verifyThat(".pdfsam-container", (HBox n) -> n.getScene().getWindow().isShowing()); click(".pdfsam-button"); verifyThat(".pdfsam-container", (HBox n) -> !n.getScene().getWindow().isShowing()); }