We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hi there, I've seen questions about this elsewhere but it doesn't help my situation.
In order to have size(x,y); resize the window correctly I need to use constant values. I cannot set and use displayWidth and displayHeight. When I use these the window reverts to full screen.
Here's the code in question (from setup)
displayWidth=600; displayHeight=600;
size(displayWidth, displayHeight); //size(600, 600); //<----works
I'm running processing 3.02 and Java Version 8 update 77 (build 1.8.0_77-b03) in Windows 10, 64 bit. And I've just removed and reinstalled Java to no avail.
Any ideas would be very useful. Many thanks, Paul
Answers
https://Processing.org/reference/settings_.html
Bang on (ie absolutely correct). Thanks so much.