i want to make sure data entered by users is not a String and if it's show a message!
String number = JOptionPane.showInputDialog("Enter a number : ",null);
here is more information for what i'm doing
String guess = JOptionPane.showInputDialog("Enter Your Guess Number : ",null);
if((Integer.parseInt(guess) < 1))
{
JOptionPane.showMessageDialog(null,"Enter a number Greater than 0!");
JOptionPane.showMessageDialog(null, "you won 1,000 $", "winner!"
, JOptionPane.INFORMATION_MESSAGE);
}