Hi! This seems like a simple question, though maybe it belongs in the intermediate forum, but my code has a problem. When I try to compile, I get this message:
Java:37: paintBetterComponent(java.awt.Graphics) in CoolerSmear.MyCoolPanel cannot be applied to () youbrokeit.paintBetterComponent();
I was trying to modify one of the ready-bake-code classes from the book (the first animation) to make it re-smear when you click a button. Here's my code. I think the problem is in my catch block, ironically enough (serves me right for writing "System.out.println("Error at " + Math.random());", doesn't it?). Thanks in advance for your help!!