0
有什麼辦法來改變按鈕OK稱號JOptionPane.showConfirmDialog
比如我有一個小組,我想表明它JOptionPane.showConfirmDialog
這樣更改標題JOptionPane.showConfirmDialog
MyPanel pan = new MyPanel();
int result = JOptionPane.showConfirmDialog(null, venteFam,
"Title of the panel", JOptionPane.OK_CANCEL_OPTION);
這個節目裏面我:
所以,我需要的是改變確定和取消標題到另一個標題,這可能嗎?
謝謝。
謝謝這應該工作 –