Proxy in processing

I’ve been studying processing language, and I think it’s great tool for

  • designers, who want to programmmmm
  • and programmers who want to design

More about it you can read at the official page of the project: processing.org/

If you need to work in processing with internet data && you are behind proxy, it’s a little bit trickier.

Place the following code in your setup() function, and everything gonna be alright!

void setup() {
        size(800,600);

        Properties systemSettings = System.getProperties();
        systemSettings.put("http.proxyHost", "your.proxy.org");
        systemSettings.put("http.proxyPort", "8080");
        System.setProperties(systemSettings);
}

0 Responses to “Proxy in processing”


  • No Comments

Leave a Reply




Hosted by EOMY.NET