Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JOptionPane errors with 0 length input  RSS feed

 
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!