Hi Don.
I have tried using
String text = JOptionPane.showInputDialog(" asdfsfasdf " ); and have no problem pressing the OK button without entering any data. I am using JDK1.2.2 on an NT4.0 system.
Perhaps you are trying to do something with
text (which is an empty String if you click OK without entering any data) and this is causing the error? Can you post that part of your code?
Stephanie