But how do the settings get into the Preferences?
Java Preferences can be easily created with a suitable editor. Instructions for doing so can be found here.
For many purposes, however, this is too costly or unsuitable. Think here, for example, of setting up new nodes or nodes in containers.