This page about developing a tool mentions
What Tools Can and Cannot Do
The following classes have been sufficiently documented for use in
Tool
classes:The base class for the main Processing application.
Main editor panel for the Processing Development Environment.
Storage class for user preferences and environment settings.
Stores information about files in the current sketch
Represents a single tab of a sketch.
but includes no further details. So what would be the approach to access Preferences? I would like my tool to have a few settings. I also developed the Video Export library and remember struggling a lot finding a place where to store settings. First I used a generic Java approach, but then I was surprised to find out it was failing under Windows, so I hacked a way to figure out the library location and write a json file there. It would be nice if there was a preferences getter/setter provided by the IDE. Is there one?