O'Reilly logo

Learning Processing by Daniel Shiffman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 23. Java

 

“I love coffee, I love tea, I love the Java Jive and it loves me.”

 
 --Ben Oakland and Milton Drake

In this chapter:

  • Processing is really Java.

  • If we did not have Processing what would our code look like?

  • Exploring the Java API.

  • Some useful examples: ArrayList, and Rectangle.

  • Exception (error) handling—try and catch.

  • Beyond Processing?

Revealing the Wizard

Perhaps, all along while reading this book, you have been thinking: “Gosh, this is so awesome. I love programming. I am so glad I am learning Processing. I can’t wait to go on and learn Java!” The funny thing is, you do not really need to learn Java. Pulling back the curtain of Processing, what we will discover is that we have been learning Java all along. For example, in Java, you: ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required