Hello,
There is a comment about this buried in here:
- GitHub - processing/processing4: Processing 4.x releases (currently in “beta”) that use Java 17
- Processing 4 · processing/processing4 Wiki · GitHub
- Move JavaFX to a separate library in the Contributions Manager · Issue #348 · processing/processing4 · GitHub
- GitHub - processing/processing4-javafx: JavaFX library for Processing 4
- Issues · processing/processing4-javafx · GitHub
Install the library:
In your code:
import processing.javafx.*;
void setup()
{
size(640, 480, FX2D);
background(0);
stroke(255);
}
void draw()
{
//Your code...
}
UPDATED 2022-06-30 References above updated.
:)