• Post Reply Bookmark Topic Watch Topic
  • New Topic

validating inputs and alert messages  RSS feed

 
nmohan kumar
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I am developing an appication using swins gui.I want to validate inputs and display alerts if invalid login details are given and also

If an exception is thrown then i need to show the user the reason for the error as an alert message.how can i do that?...


Thanks in advance
 
Rob Camick
Ranch Hand
Posts: 2754
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to validate inputs


Maybe use an InputVerifyer.

and display alerts if invalid login details are given


Use a JOptionPane.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!