Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for(int i = 0; i < 3; i++){
- for(int j = 0; j < 3; j++){
- if(img[i][j].equals(btnArray[i][j].getIcon())){
- JOptionPane.showMessageDialog(null, "Congrats, you solved the puzzle!", "Solved!", JOptionPane.PLAIN_MESSAGE);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement