Alguem sabe Como faço para mudar aquele “input” q toda vez aparece como default quando utilizamos esta ferramenta ?
Se vc está se referindo ao título da janela, de uma olhada neste método da Classe JOptionPane.
showInputDialog
public static String showInputDialog(Component parentComponent,
Object message,
String title,
int messageType)
throws HeadlessException
Shows a dialog requesting input from the user parented to parentComponent with the dialog having the title title and message type messageType.
Parameters:
parentComponent - the parent Component for the dialog
message - the Object to display
title - the String to display in the dialog title bar
messageType - the type of message that is to be displayed: ERROR_MESSAGE, INFORMATION_MESSAGE, WARNING_MESSAGE, QUESTION_MESSAGE, or PLAIN_MESSAGE
Throws:
HeadlessException - if GraphicsEnvironment.isHeadless returns true
See Also:
GraphicsEnvironment.isHeadless()
Mais informações:
http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/JOptionPane.html
Existem várias assinaturas para o método showInputDialog, você está usando algo como:
showInputDialog(jframe, "mensagemn");
Tente usar
showInputDialog(jframe, "mensagem","titulo",0);
acho que essa existe…