| Package | Description | 
|---|---|
| java.util.prefs | This package allows applications to store and retrieve user and system
preference and configuration data. | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract void | Preferences. addNodeChangeListener(NodeChangeListener ncl)Registers the specified listener to receive node change events
 for this node. | 
| void | AbstractPreferences. addNodeChangeListener(NodeChangeListener ncl) | 
| abstract void | Preferences. removeNodeChangeListener(NodeChangeListener ncl)Removes the specified NodeChangeListener, so it no longer
 receives change events. | 
| void | AbstractPreferences. removeNodeChangeListener(NodeChangeListener ncl) | 
 Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2025, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.