private void paintSelectedPieceAndMoves(Graphics g) {
		Color tempColor = g.getColor();

		if(myGame.chosenPiece!=null)
		{
			int x = myGame.chosenPiece.getX();
			int y =7- myGame.chosenPiece.getY();
			g.setColor(Color.red);
			g.drawRect(x*myCellSize,y*myCellSize,myCellSize,myCellSize);
			
		}
		if(myGame.possibleMoves!=null)
		{
			for(Point p : myGame.possibleMoves)
			{
				g.drawRect((p.x)*myCellSize, (7-p.y)*myCellSize, myCellSize, myCellSize);
			}

		}g.setColor(tempColor);
		
	}