Guest User

Untitled

a guest
Apr 22nd, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.28 KB | None | 0 0
  1.     private void setEmpLetter (char e) {   
  2.         for(int i = 0; i<nonEmpNumbers.length; i++) {
  3.             if(nonEmpNumbers[i] == e) {
  4.                 String input = JOptionPane.showInputDialog(null, "Not a valid letter. Enter a letter between A-M.");
  5.                 input.charAt(0);
  6.             }
  7.  
  8.             empLetter = e;
  9.         }
  10.     }
Add Comment
Please, Sign In to add comment