PConstants.java is used in vanilla processing to provide across project access to constants. This is done by creating an interface with static fields a method that has come under much criticism. There is not much point in being critical about we just have to get on with it. However in this project we explore the alternatives of both final class and enums. See github. Not explored so far is the constants included in the classes that use them (as recommended by Joshua Bloch and others).