We are about to switch to a new forum software. Until then we have removed the registration on this forum.
All the Processing sketch windows I've made are fixed size. Maximise and size options are greyed out. (Using Windows a the moment. Size() without P2D or P3D.) Is it possible to make a resizable window? Is there a resize event function? (I've looked at doc on Size and Environment, not seen anything there.)
Answers
Actually
frame.setResizable(true);
still works for P3, even though it's deprecated. ;;)Does that always work on P3, even if the renderer uses JavaFX?
Java doesn't have the a resize event but you can simulate your own
The pre method is called just before the draw method
@GoToLoop It doesn't work for me if I use P2D, P3D or FX2D.
Thanks all. Working for me (without P2D or P3D).