update the java appearance pref.