dkim18
asked on
JOptionPane.showMessageDialog
I have six JTextFields on JPanel and I need to verify all inputs in JTextFields.
Depend on validation of inputs, my program need generate JOptionPane.showMessageDia log. However, there so many different cases, and I can't write JOptionPane.showMessageDia log for each different case.
My qustion is how do I get all different dialog message by using only one JOptionPane.showMessageDia log statement?
For example, if a user didn't put anything and just press 'verify' button, JOptionPane.showMessageDia log should show all six different mssages. If a user put threee valid inputs, then three messages for invalid input should be on JOptionPane.
Depend on validation of inputs, my program need generate JOptionPane.showMessageDia
My qustion is how do I get all different dialog message by using only one JOptionPane.showMessageDia
For example, if a user didn't put anything and just press 'verify' button, JOptionPane.showMessageDia
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Thanks for the correction mayankeagle!
:-)