• Post Reply Bookmark Topic Watch Topic
  • New Topic

input errors in JDialogs  RSS feed

 
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!