代码:

JOptionPane.showMessageDialog(null, “保存失败!”, "", JOptionPane.ERROR_MESSAGE);
JOptionPane.showMessageDialog(null, “保存成功!”, "", JOptionPane.INFORMATION_MESSAGE);


原文链接:https://blog.csdn.net/weixin_41162427/article/details/85255025

欢迎留言