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

Print this page

        

*** 37,46 **** --- 37,47 ---- import javafx.scene.Node; import javafx.scene.control.Button; import javafx.scene.layout.VBox; import javafx.scene.paint.Color; import org.eclipse.swt.widgets.Shell; + import com.sun.javafx.stage.WindowHelper; /** * * @author shubov */
*** 181,191 **** stage.setTitle(title); fillScene(); stage.setScene(scene); stage.show(); stage.toFront(); ! stage.setFocused(true); } public void show(final Object frame, final Object panel) { SwingAWTUtils.setJFrameTitle(frame, title); --- 182,193 ---- stage.setTitle(title); fillScene(); stage.setScene(scene); stage.show(); stage.toFront(); ! //stage.setFocused(true); ! WindowHelper.setFocused(stage, true); } public void show(final Object frame, final Object panel) { SwingAWTUtils.setJFrameTitle(frame, title);