This week's book giveaway is in the HTML/CSS/JavaScript forum.
We're giving away four copies of Practical SVG and have Chris Coyier on-line!
See this thread for details.
Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JOptionPane errors with 0 length input

 
Don Smathers
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Using JOptionPane.showInputDialog(" asdfsfasdf " );
I get a system error when I simply press the OK button without
entering any data.
Can you please suggest a way to avoid this while still staying
within the confines of JOP?
 
Frank Carver
Sheriff
Posts: 6920
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is really a Swing question, so I've moved it to the Swing/AWT forum for you.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!