public void mouseClicked(MouseEvent evt) 
      	{

      		mx= evt.getX();
			my= evt.getY();
			for(int i=0;i<10;i++)
			{
				for(int j=0;j<30;j++)
				{
					px=sq[i][j].x;
					py=sq[i][j].y;
					pwidth=sq[i][j].width;
					pheight=sq[i][j].height;
					if(mx>=px&&mx<=px+pwidth&&my>=py&&my<=py+pheight)
					{
						sq[i][j].newLife=true;
					}
				}
			}
			paint();
      	}   //    and MouseMotionListener