我希望把“确定”改成“上传”,把“取消”改成“重做”
JOptionPane.showConfirmDialog(null,"确定上传?","数据上传",JOptionPane.OK_CANCEL_OPTION);
JOptionPane.showConfirmDialog(null,"确定上传?","数据上传",JOptionPane.OK_CANCEL_OPTION);
JOptionPane.showOptionDialog(arg0,
"确定上传?",
"数据上传",
JOptionPane.YES_NO_OPTION,
JOptionPane.QUESTION_MESSAGE,
null,
options,
options[0]);
JOptionPane.showOptionDialog(null,
"确定上传?",
"数据上传",
JOptionPane.YES_NO_OPTION,
JOptionPane.QUESTION_MESSAGE,
null,
options,
options[0]);刚才一参数忘改了……
JOptionPane.showOptionDialog(null,
"确定上传?",
"数据上传",
JOptionPane.YES_NO_OPTION,
JOptionPane.QUESTION_MESSAGE,
null,
options,
options[0]);