Tobystereo/instagramLoader — pull request #1 by gmagnenat (2014-02-18 12:37:51+00:00)
Title: Add support for latest version of Processing, 2.1.1

Adding support for version 2.1.1 of Processing
Removing also the personal data (username & access token) from the sketch and declaring static variable at the beginning. Just update the variables and access token with your personal values.
There is a new core library package called processing.data that has a JSONObject class. We need then to add a fully qualified class when declaring JSON variables so processing knows which class to use. It removes the "JSONObject is ambiguous" error for example.
Since Processing 2.0 all imports which are not covered in Processing reference are removed. So if we need java.awt or java.util we have to add an import line at the beginning of the sketch. Calendar is part of java.util