Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

input errors in JDialogs

 
Barry Brashear
Ranch Hand
Posts: 303
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is the best idea for presenting input errors to the user in a JDialog?
Should you have a JLable at the bottom where you place an error message?

Thanks.
 
Serghei Jelauc
Ranch Hand
Posts: 128
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
May be a did not understand the question, but why not? Of corse you can add JLabel to the JDialog. Try this:


Hope it will help
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic