The Java Developers Almanac 1.4


Order this book from Amazon.

   
Home > List of Packages > java.util.prefs  [18 examples] > Nodes  [7 examples]

e412. Creating a Preference Node

The methods used to create a preference node are identical to the ones for retrieving a preference node. When retrieving a preference node, the preference node is automatically created if it doesn't exist. In fact, when you retrieve a node, you can't tell if it was just created or not.

See e413 Retrieving a Preference Node for an example of retrieving preference nodes.

See also e415 Determining If a Preference Node Exists.

 Related Examples
e411. Getting the Roots of the Preference Trees
e413. Retrieving a Preference Node
e414. Removing a Preference Node
e415. Determining If a Preference Node Exists
e416. Retrieving the Parent and Child Nodes of a Preference Node
e417. Finding a Preference in a Preference Tree

See also: Events    Importing and Exporting   


© 2002 Addison-Wesley.