Examples don’t compile with new Processing 1.5 Store › Forums › Processing Layers › Bugs/Problems › Examples don’t compile with new Processing 1.5 This topic has 3 replies, 2 voices, and was last updated 13 years, 7 months ago by Michael. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts April 18, 2011 at 1:08 pm #419 asparagusMember Hi Micheal, there is a Problem using Processing 1.5. The Demo Sketch SimpleAnimation produce an error: super.paint(); “The method paint(Graphics) in the type PApplet is not applicable for the Arguments ()” Is there a practical Solution, or will you update the, really usefull, library? Thanks asparagus April 18, 2011 at 2:07 pm #1049 MichaelKeymaster Thanks for the info, I’ll have to take a look. I haven’t done much with Processing Layers lately, so I need to dust it off and see if I can provide a fix. I wasn’t sure anyone was actually using Processing Layers! April 21, 2011 at 9:01 pm #913 MichaelKeymaster Processing 1.5 seems to have made changes to the paint() signature. To make sketches work with 1.5, use a paint method like this: void paint(java.awt.Graphics g) { if (layers != null) { layers.paint(this); } else { super.paint(this.getGraphics()); } } April 23, 2011 at 8:35 pm #878 asparagusMember Hi Michael, thanks a lot. asparagus Author Posts Viewing 4 posts - 1 through 4 (of 4 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In Log in / Register