synchronized void setCurrentSlideIndex(int i){
		this.index = i;
		Slide slide = slides.get(i);
		viewer.setSlide(slide);
		viewer.setVisible(true);
		pending = true;
	}
synchronized void setCurrentSlideIndex(int i){
		this.index = i;
		Slide slide = slides.get(i);
		viewer.setSlide(slide);
		viewer.setVisible(true);
		pending = true;
	}
synchronized void setCurrentSlideIndex ( int i ) { this . index = i ; Slide slide = slides . get ( i ) ; viewer . setSlide ( slide ) ; viewer . setVisible ( true ) ; pending = true ; }
detector.stop();
detector . stop () ;