We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I am getting the above said issue. The code is given below:
boolean sketchFullScreen() { return true; //return false; } void screen { size(displayWidth, displayHeight, P3D); }
Please suggest a solution to solve the issue.
Answers
sketchFullScreen()
is a final method in PApplet. It is method that is marked "final" -- you can see it here:"final" means you cannot override it.
you are overriding it in your code.
But you cannot override it, because it is final!
That is why you are getting the error. Solution: don't override it.
p.s. please format your code! Edit your post, highlight the code, and press CTRL+o to indent it four spaces, making it correctly readable and cut-paste-able. For details, see:
https://forum.processing.org/two/discussion/15473/readme-how-to-format-code-and-text
https://Processing.org/reference/fullScreen_.html
@GotoLoop: Thank you!