The Preference Editor below is an example of a minimal but fully functional preferences editor. It has:
- only one preference
- no enactor
- no localization (Note that this is not best practice!)
This code is the basis for the
Preferences Framework tutorial.