public static JCheckBox checkboxPref(String key, boolean def) {
        final Class<?> callerClass = LangUtil.getTraceClass(1);
        return checkbox(PrefUtil.getBoolean(key, def, callerClass), 
				PrefUtil.setBooleanF(key, callerClass));
	}