@Override
		public void actionPerformed(ActionEvent e) {
			JButton source = (JButton) e.getSource();

			if (clicks < 5) {
				try {
					if (Integer.parseInt(source.getText().substring(0, 1)) - 1 == winLoc[0] && Integer.parseInt(source.getText().substring(2, 3)) - 1 == winLoc[1]) {
						source.setText("Won");
					}

					else {
						source.setText("No");
					}

				}

				catch (NumberFormatException nfe) {}
			}
			
			else {
				source.setText("Lost");
				
				buttons[winLoc[0]][winLoc[1]].setText("Here");
			}
			
			clicks ++;
		}