//jleblanc 11.10.05: basic arraylist int MAX = 10; ArrayList blist = new ArrayList(); void setup() { size(300,300); background(0); noStroke(); fill(255); smooth(); } void draw() { background(0); for (int i = 0; i < blist.size(); i++) { Ball b = (Ball) blist.get(i); b.render(); } }