Code example for Preferences

Methods: putBoolean

0
  } 
 
 
  public void setUseDefaultPDFViewer(final boolean useDefaultPDFViewer)
  { 
    preferences.putBoolean(USE_DEFAULT_PDFVIEWER_KEY, useDefaultPDFViewer);
  } 
 
  public String getCustomPDFViewerExecutable()
  { 
    return preferences.get(CUSTOM_PDFVIEWER_EXECUTABLE_KEY, null);
  } 
 
  public void setCustomPDFViewerExecutable(final String customPDFViewerExecutable)
  { 
    preferences.put(CUSTOM_PDFVIEWER_EXECUTABLE_KEY, customPDFViewerExecutable);
  } 
 
  public String getCustomPDFViewerParameters()
  { 
Stop searching for code, let great code find you!  Add Codota to your java IDE