public void waitFor(int msec)
public void waitFor()
	public void waitFor(int msec)	{		try		{			if (msec == 0)			{				while(isAlive())				{					join(500);				}			}			else			{				if (isAlive())				{					join(msec);				}			}		}		catch (InterruptedException e)		{			e.printStackTrace();		}	}