((WorkThread)Thread.currentThread()).setProgressValue(value);
Thread thread = Thread.currentThread(); if(thread instanceof WorkThread) ((WorkThread)thread).setProgressValue(value);
	public void setProgressValue(int value)	{		((WorkThread)Thread.currentThread()).setProgressValue(value);	}