@Override
	public void run() {
		thread.start();
		while (true) {
			try {
				Thread.sleep(100);
				progress++;
				if(getProgress()>=100){
					stop();
				}
				setChanged();
				notifyObservers(progress);
			} catch (InterruptedException e) {
			}
		}
	}