/**
* Lazily creates and returns the option pane that is to form the content of
* the dialog.
*/
private JOptionPane getOptionPane() {
if (this.optionPane == null) {
JTextField nameField = getNameField();
this.optionPane = new JOptionPane(new Object[] {nameField, getErrorLabel()},
JOptionPane.PLAIN_MESSAGE, JOptionPane.OK_CANCEL_OPTION, null,
new Object[] {getOkButton(), getCancelButton()});
}
return this.optionPane;
}
FreshNameDialog.java 文件源码
java
阅读 25
收藏 0
点赞 0
评论 0
项目:JavaGraph
作者:
评论列表
文章目录