+ 1

Why does code in the code playground not work in Processing?

Whenever I write code in Processing, even if it is the exact code in the Code Playground, it doesn't work. Why? PS i'm using Java.

17th Jun 2019, 3:19 PM
[No Name]
[No Name] - avatar
6 Answers
+ 2
Whenever I put code in tje Code Playground, it works. Then I decided to put the exact same code in Processing 3, it gave me errors. Tjey say that I used static improperly, and when I remove static, it says I need to read the Javadoc in PApplet for an excplanation.
17th Jun 2019, 3:44 PM
[No Name]
[No Name] - avatar
+ 2
Processing is a libary of many others. You have to use a specific code in it. Hopes that you understood.
17th Jun 2019, 3:54 PM
SĂĄvio Machado
SĂĄvio Machado - avatar
+ 2
Thank you, but since then i've figured out about Eclipse.
17th Jun 2019, 8:55 PM
[No Name]
[No Name] - avatar
+ 1
Oh, then where can I write programs in Java?
17th Jun 2019, 3:55 PM
[No Name]
[No Name] - avatar
+ 1
The only place that I know who haves the Processing.js is Khan Academy, it's free, you can go to the programming section to try your code. Search and try it :)
17th Jun 2019, 8:54 PM
SĂĄvio Machado
SĂĄvio Machado - avatar
+ 1
The 'Processing language' is not the same as the 'Java language', although it is similar. In order to run the Processing code, additional rules must be followed compared to Java.
18th Jun 2019, 7:22 AM
zemiak