JAva二次確認ダイアログ
213 ワード
//
int response = JOptionPane.showConfirmDialog(Message_Panel.this, " ?", " ", JOptionPane.YES_NO_OPTION);
if (response == JOptionPane.YES_OPTION)
{
}
//
int response = JOptionPane.showConfirmDialog(Message_Panel.this, " ?", " ", JOptionPane.YES_NO_OPTION);
if (response == JOptionPane.YES_OPTION)
{
}