📜  JavaFX 中的信息对话框 - Java 代码示例

📅  最后修改于: 2022-03-11 14:52:19.408000             🧑  作者: Mango

代码示例1
Alert alert = new Alert(AlertType.INFORMATION);
alert.setTitle("Information Dialog");
alert.setHeaderText(null);
alert.setContentText("I have a great message for you!");

alert.showAndWait();