Advertisement
Guest User

Untitled

a guest
Oct 1st, 2014
213
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. for(int i = 0; i < 3; i++){
  2. for(int j = 0; j < 3; j++){
  3. if(img[i][j].equals(btnArray[i][j].getIcon())){
  4. JOptionPane.showMessageDialog(null, "Congrats, you solved the puzzle!", "Solved!", JOptionPane.PLAIN_MESSAGE);
  5.  
  6. }
  7. }
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement