private void handleUpdate() {
		if (pref instanceof PreferenceString) {
			((PreferenceString) pref).setTmp((String) box.getSelectedItem());
		} else if (pref instanceof PreferenceLineEnding) {
			((PreferenceLineEnding) pref).setTmp((String) box.getSelectedItem());
		}	
	}