preview.remoteRepaint();
preview.repaint();
	public void updatePaletteDisplay()	{		muteEvents = true;		sp.setPalette(				palettes[photoPaletteChooser.getSelectedIndex()][subPaletteChooser.getSelectedIndex()]);		sp.repaint();		preview.setPalette(palettes[photoPaletteChooser.getSelectedIndex()]);		preview.remoteRepaint();		muteEvents = false;	}