Exemple #1
0
 @Override
 public void setValues() {
   layout1.setText(prefs.get(JabRefPreferences.PREVIEW_0).replaceAll("__NEWLINE__", "\n"));
   layout2.setText(prefs.get(JabRefPreferences.PREVIEW_1).replaceAll("__NEWLINE__", "\n"));
   pdfPreview.setSelected(prefs.getBoolean(JabRefPreferences.PDF_PREVIEW));
 }
Exemple #2
0
 @Override
 public JPanel getSettingsPanel() {
   additionalParams.setText(Globals.prefs.get(JabRefPreferences.EMACS_ADDITIONAL_PARAMETERS));
   useEmacs23.setSelected(Globals.prefs.getBoolean(JabRefPreferences.EMACS_23));
   return super.getSettingsPanel();
 }