title: Is there a way to only have the OK button in a JOptionPane showInputDialog (and no CANCEL button)?
body: <p>I've seen that this is possible in other types of dialog windows such as "showConfirmDialog", where one can specify the amount of buttons and their names; but is this same functionality achievable when using "showInputDialog"? I couldn't seem to find this type of thing in the API. Perhaps I just missed it, but any help is appreciated.</p>