I don't understand. Don't blame the API and the J2SE - it has worked for thousands if not millions of applications. It has been put through the ropes, and I guarantee it works if used appropriately....
Type: Posts; User: copeg
I don't understand. Don't blame the API and the J2SE - it has worked for thousands if not millions of applications. It has been put through the ropes, and I guarantee it works if used appropriately....
That is not an SSCCE - see my signature. The code you posted wouldn't even compile:
myY = Math.random() * 200 - 99;
should yield a compile time error type mismatch - myY is an int and the...
Post the code as an SSCCE that demonstrates the error...the Math class is in the java.lang package which is a default import - there shouldn't be a need to import the java.math package.