public void start() {

		if (running.compareAndSet(false, true)) {

			image.set(new WebcamGetImageTask(Webcam.getDriver(), webcam.getDevice()).getImage());

			executor = Executors.newSingleThreadScheduledExecutor(THREAD_FACTORY);
			executor.execute(this);

			LOG.debug("Webcam updater has been started");
		} else {
			LOG.debug("Webcam updater is already started");
		}
	}
public void start ( ) { if ( running . compareAndSet ( false , true ) ) { image . set ( new WebcamGetImageTask ( Webcam . getDriver ( ) , webcam . getDevice ( ) ) . getImage ( ) ) ; executor = Executors . newSingleThreadScheduledExecutor ( THREAD_FACTORY ) ; executor . execute ( this ) ; LOG . debug ( "Webcam updater has been started" ) ; } else { LOG . debug ( "Webcam updater is already started" ) ; } }
Start updater.