addComponent(cp, jURL, 4, pf.getIntProperty(SLIDESHOW_URL));
addComponent(cp, jURL, 4, pf.getIntProperty(SLIDESHOW_URL));*/
	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_SPACE:						if (running) {							running = false;						} else {							new Thread(SlideshowFrame.this).start();						}						updateProgress(currentPicture);						break;				}			}		});		jCaption.setUI((LabelUI) OutlineLabelUI.createUI(jCaption));		jProgress.setUI((LabelUI) OutlineLabelUI.createUI(jProgress));		jExtra.setUI((LabelUI) OutlineLabelUI.createUI(jExtra));		jURL.setUI((LabelUI) OutlineLabelUI.createUI(jURL));		jCaption.setForeground(Color.white);		jProgress.setForeground(Color.white);		jExtra.setForeground(Color.white);		jURL.setForeground(Color.white);		jCaption.setFont(jCaption.getFont().deriveFont(Font.BOLD));		jProgress.setFont(jCaption.getFont().deriveFont(Font.BOLD));		jExtra.setFont(jCaption.getFont().deriveFont(Font.BOLD));		jURL.setFont(jCaption.getFont().deriveFont(Font.BOLD));		PreviewFrame.ImageContentPane cp = new PreviewFrame.ImageContentPane();		setContentPane(cp);		cp.setLayout(new GridBagLayout());		cp.add(new JLabel(), new GridBagConstraints(0, 10, 1, 1, 1.0, 1.0				, GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0));		cp.add(new JLabel(), new GridBagConstraints(1, 10, 1, 1, 1.0, 1.0				, GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0));		cp.add(new JLabel(), new GridBagConstraints(2, 20, 1, 1, 1.0, 1.0				, GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0));		PropertiesFile pf = GalleryRemote._().properties;		addComponent(cp, jProgress, 1, pf.getIntProperty(SLIDESHOW_PROGRESS));		addComponent(cp, jCaption, 2, pf.getIntProperty(SLIDESHOW_CAPTION));		addComponent(cp, jExtra, 3, pf.getIntProperty(SLIDESHOW_EXTRA));		addComponent(cp, jURL, 4, pf.getIntProperty(SLIDESHOW_URL));		sleepTime = pf.getIntProperty(SLIDESHOW_DELAY) * 1000;	}