static Component[] asComponentArray(Collection c) { Component[] a = new Component[l(c)]; Iterator it = c.iterator(); for (int i = 0; i < l(a); i++) a[i] = it.next(); ret a; }