Example usage for java.util.prefs Preferences removePreferenceChangeListener

List of usage examples for java.util.prefs Preferences removePreferenceChangeListener

Introduction

In this page you can find the example usage for java.util.prefs Preferences removePreferenceChangeListener.

Prototype

public abstract void removePreferenceChangeListener(PreferenceChangeListener pcl);

Source Link

Document

Removes the specified preference change listener, so it no longer receives preference change events.

Usage

From source file:au.org.ala.delta.editor.EditorPreferences.java

public static void removePreferenceChangeListener(PreferenceChangeListener listener) {
    Preferences prefs = Preferences.userNodeForPackage(DeltaEditor.class);
    if (prefs != null) {
        prefs.removePreferenceChangeListener(listener);
    }// w w  w  . j a  v a  2  s .  c o m

}