javafx 普通弹框提示

new Alert(Alert.AlertType.NONE, "xxx不存在", new ButtonType[]{ButtonType.CLOSE}).show();
原文地址:https://www.cnblogs.com/fsqsec/p/6720387.html