public void mousePressed(java.awt.event.MouseEvent mouseEvent) {
public void mouseClicked(java.awt.event.MouseEvent mouseEvent) { Log.log(Log.LEVEL_TRACE, MODULE, "Got click");
	public void initComponents() {		previewCacheSize = 3;		addMouseListener(new MouseAdapter() {			public void mousePressed(java.awt.event.MouseEvent mouseEvent) {				nextAsync();			}		});		addMouseWheelListener(new MouseWheelListener() {			public void mouseWheelMoved(MouseWheelEvent e) {				if (e.getWheelRotation() > 0) {					nextAsync();				} else {					previousAsync();				}			}		});		addKeyListener(new KeyAdapter() {			public void keyPressed(KeyEvent e) {				int vKey = e.getKeyCode();				Log.log(Log.LEVEL_TRACE, MODULE, "Got key: " + e);				switch (vKey) {					case KeyEvent.VK_ESCAPE:						Log.log(Log.LEVEL_TRACE, MODULE, "Stopping slideshow");						running = false;						shutdown = true;						hide();						break;					case KeyEvent.VK_LEFT:					case KeyEvent.VK_UP:						previousAsync();						break;					case KeyEvent.VK_RIGHT:					case KeyEvent.VK_DOWN:						nextAsync();						break;					case KeyEvent.VK_H:						updateFeedback(FEEDBACK_HELP);						break;					case KeyEvent.VK_SPACE:						if (running) {							running = false;						} else {							new Thread(SlideshowFrame.this).start();						}						updateFeedback(FEEDBACK_PAUSE_PLAY);						updateProgress(currentPicture, STATE_NONE);						break;				}			}		});		PreviewFrame.ImageContentPane cp = new PreviewFrame.ImageContentPane();		setContentPane(cp);		PropertiesFile pf = GalleryRemote._().properties;		sleepTime = pf.getIntProperty(SLIDESHOW_DELAY) * 1000;	}