/**
* Loads the result of a round dialog
* @throws IOException is thrown if the FXML file cannot be parsed.
*/
public static void start() throws IOException{
FXMLLoader loader = new FXMLLoader();
loader.setLocation(Class.class
.getResource("/data/gui/pages-game/ResultRoundDialog.fxml"));
page = (AnchorPane) loader.load();
FadeTransition ft = new FadeTransition(Duration.millis(900), page);
ft.setFromValue(0.0);
ft.setToValue(0.97);
ft.play();
popup = new Popup();
popup.setAutoHide(true);
page.setOpacity(0.85);
popup.getContent().add(page);
popup.show(Main.stage);
TeamBuilderController.start();
}
ResultRoundDialogcontroller.java 文件源码
java
阅读 20
收藏 0
点赞 0
评论 0
项目:UFMGame
作者:
评论列表
文章目录