There are several changes that make the current mode incompatible with Processing 4:
preprocessingService has been renamed to preprocService in processing.mode.java.JavaEditor.
- JavaFX is no longer included by default and will be available as a library. The
imports= field in mode.properties is likely the best way to address this. Processing states that JavaFX requires 180-260 MB additional space, but we need to test if a mode import affects project size.
Other considerations:
- Processing 4 moves to JDK 11 and JDK 17 in September 2021. ErrorUrlAssembler casts can be simplified in newer versions.