public void paintObject() {
		int color = Color.lightGray.getRGB();
		for( int iy = 0; iy < myHeight; iy++ ) {
			int indexRow = iy*myWidth;
			for( int ix = 0; ix < myWidth; ix++ ) {
				myScreenBuffer[ix+indexRow] = color;
			}
		}

		if( myMousePos.x >= 0 && myMousePos.y >= 0 ) {
			int color1 = Color.black.getRGB();
			int color2 = Color.white.getRGB();
			int xpos1 = Math.max( myMousePos.x-myObjectSize/2, 0 );
			int xpos2 = Math.min( myMousePos.x+myObjectSize/2, myWidth );
			int ypos1 = Math.max( myMousePos.y-myObjectSize/2, 0 );
			int ypos2 = Math.min( myMousePos.y+myObjectSize/2, myHeight );
			for( int iy = ypos1; iy < ypos2; iy++ ) {
				int indexRow = iy*myWidth;
				int yZeroOne = (int)( iy / myObjectStep ) % 2;
				for( int ix = xpos1; ix < xpos2; ix++ ) {
					int xZeroOne = (int)( ix / myObjectStep ) % 2;
					if( xZeroOne == yZeroOne )
						myScreenBuffer[ix+indexRow] = color1;
					else
						myScreenBuffer[ix+indexRow] = color2;
				}
			}
		}
		myMISource.newPixels();
	}