public void selectPawn(int pawnNum) {
		//clearTrack();
		
		// a red pawn is selected by the computer, but should not by the user
		if (pawnNum >= 0 && pawnNum < 4) {
			imgURL = SorryGame.class.getResource("selectedPawn.jpg");
			redPawn[pawnNum].setIcon(new ImageIcon(imgURL));
			for (int i = 0; i < 4; i++) {
				if (i != pawnNum) {
					imgURL = SorryGame.class.getResource("redPawn.jpg");
					redPawn[i].setIcon(new ImageIcon(imgURL));
				}
			}
			pawnSelected = true;
			currentPawnIndex = pawnNum;
		}
		// a yellow pawn is selected by the user
		else if (pawnNum >= 4 && pawnNum < 8) {
			imgURL = SorryGame.class.getResource("selectedPawn.jpg");
			yellowPawn[pawnNum - 4].setIcon(new ImageIcon(imgURL));
			for (int i = 0; i < 4; i++) {
				if (i != (pawnNum - 4)) {
					imgURL = SorryGame.class.getResource("yellowPawn.jpg");
					yellowPawn[i].setIcon(new ImageIcon(imgURL));
					yellowPawn[i].setEnabled(false);
				}
			}
			pawnSelected = true;
			currentPawnIndex = pawnNum;
		}
		else {
			pawnSelected = false;
			currentPawnIndex = -1;
			for (int i = 0; i < 4; i++) {
				imgURL = SorryGame.class.getResource("yellowPawn.jpg");
				yellowPawn[i].setIcon(new ImageIcon(imgURL));
			}
		}
		
		repaint();
		//revalidate();
	}// end of selectPawn()