I have noticed that the window size is not correct when setting the renderer to FX2D. My monitor’s resolution is 1920x1080, and when I run this sketch:
color black = color(36,39,45);
color green = color(141,187,110);
import processing.javafx.*;
void setup(){
size(960,540,FX2D);
}
void draw(){
background(green);
}
The window is wider than half the screen, so it is larger than expected. If I switch back to P2D or the default renderer the window is the proper size. Any ideas why this might be?