protected void apply() {
public void apply() {
	protected void apply() {		settings.setRenderer((String)renderer.getSelectedItem());		String[] parser = ((String)resolution.getSelectedItem()).split("x");		settings.setWidth(Integer.parseInt(parser[0]));		settings.setHeight(Integer.parseInt(parser[1]));		settings.setDepth(Integer.parseInt((String)depth.getSelectedItem()));		settings.setFrequency(Integer.parseInt((String)frequency.getSelectedItem()));		settings.setVerticalSync(verticalSync.getSelectedItem().equals("Yes"));		settings.setFullscreen(fullscreen.getSelectedItem().equals("Yes"));		settings.setMusic(music.getSelectedItem().equals("Yes"));		settings.setSFX(sfx.getSelectedItem().equals("Yes"));		settings.setDepthBits(Integer.parseInt((String)depthBits.getSelectedItem()));		settings.setAlphaBits(Integer.parseInt((String)alphaBits.getSelectedItem()));		settings.setStencilBits(Integer.parseInt((String)stencilBits.getSelectedItem()));		settings.setSamples(Integer.parseInt((String)samples.getSelectedItem()));	}