Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2017
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.41 KB | None | 0 0
  1.          if (input.equals(" ") || input.equals(null) || input.equals(""))
  2.          {
  3.             do
  4.             {
  5.             input = JOptionPane.showInputDialog("Not a valid first name. "+
  6.                                              "\nClient's " + (i+1) + " first name?");
  7.             }while (input.equals(" ") || input.equals(null) || input.equals(""));
  8.          }
  9.          client[i].setFirstName(input);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement