HC-SR04 Ultrasonic Sensor Simple Project

Ok now everything is more clear. Here is some info.

As you can see in the images the result is -1 at the serial monitor without running the other IDE.
It says done uploading...
When I have opened serial monitor I can not run the Processing IDE. Dunno I this is normal or not, I just mention it.

thats all i have...hope it helps and thanks for your time guys, appreciate it. you are the fastest forum ever...

-1.PNG