Skip to content

upgrade to processing 2.1 #14

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Jan 12, 2014
Merged

upgrade to processing 2.1 #14

merged 6 commits into from
Jan 12, 2014

Conversation

longbai
Copy link
Contributor

@longbai longbai commented Jan 12, 2014

use processing 2.1

@rictic
Copy link
Owner

rictic commented Jan 12, 2014

Thanks for the pull request.

Ideally we'd use a build system that pulled in requirements dynamically, but this is a good incremental change.

rictic added a commit that referenced this pull request Jan 12, 2014
update some external libraries
@rictic rictic merged commit ddf0ffe into rictic:master Jan 12, 2014
@dwo
Copy link

dwo commented May 8, 2014

Has anyone else seen this change cause an Exception like this?

Exception in thread "Animation Thread" java.lang.IllegalAccessError: tried to access field processing.core.PFont.size from class code_swarm
    at code_swarm.drawLegend(code_swarm.java:537)
    at code_swarm.draw(code_swarm.java:426)
    at processing.core.PApplet.handleDraw(PApplet.java:2306)
    at processing.core.PGraphicsJava2D.requestDraw(PGraphicsJava2D.java:243)
    at processing.core.PApplet.run(PApplet.java:2177)
    at java.lang.Thread.run(Thread.java:744)

@longbai
Copy link
Contributor Author

longbai commented May 9, 2014

@dwo you need update the code_swarm.java, please reference the PR file code_swarm.java line 537

@dwo
Copy link

dwo commented May 9, 2014

@longbai hey, I was running from master with that change on code_swarm.java, getSize() instead of size, right? I could open a separate issue.

@longbai
Copy link
Contributor Author

longbai commented May 9, 2014

@dwo yes, processing 2.1 changed it to private

@dwo
Copy link

dwo commented May 9, 2014

@longbai my issue is that I still get that error on the current master, even with using getSize().

@dwo
Copy link

dwo commented May 9, 2014

this is probably because I haven't rebuilt the code_swarm jar, sorry for the trouble.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants