We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hi everyone,
I am trying to use Random class in Processing, but it turns out that the in-built Java library is not in my Processing environment. Any ideas about what has happened? Or where I can download it if need be?
Thanks!
All Java's API is available! We just need to import it:
import java.util.Random;
http://download.java.net/jdk8/docs/api/java/util/Random.html
Although Processing's version is already pretty good! And it's actually based on Java's API:
http://processing.org/reference/random_.html
Answers
All Java's API is available! We just need to import it:
http://download.java.net/jdk8/docs/api/java/util/Random.html
Although Processing's version is already pretty good! And it's actually based on Java's API:
http://processing.org/reference/random_.html