Object[] options = {"Yes, please",
"No, thanks",
"No eggs, no ham!"};
int n = JOptionPane.showOptionDialog(frame,
"Would you like some green eggs to go "
+ "with that ham?",
"A Silly Question",
JOptionPane.YES_NO_CANCEL_OPTION,
JOptionPane.QUESTION_MESSAGE,
null,
options,
options[2]);
D:\Sistemas\Gestor\projetos\GuiGestor\src\br\com\solutec\gestor\gui\dialogo\empresa\Excluir.java:31: setOptions(java.lang.Object[]) in javax.swing.JOptionPane cannot be applied to (int)
jOptionPane.setOptions(jOptionPane.YES_NO_OPTION);
olá
pra mudar o texto dos botões
eu ja tentei fazer as opções que foram apresentadas, mas o netbeans
acusa CANNOT FIND SYMBOL, será que eu esqueci de fazer o import de alguma classe?
pq a minha sintaxe está como as do exemplo.