help with this section of the work, arraylists objects lists
<pre><code>private List&lt;MyShape&gt; childShapes;
public ShapeCreator() {
    super();
    frame = new DrawGUI();
    this.childShapes = new ArrayList&lt;MyShape&gt;();
}
</code></pre>

<p>I have this piece of code and i have got to insert an infinite amount of data(the array size not fixed), which consists of integers, how would i do that, i think i must be getting confused with the this.childShapes </p>

<p>I would appreciate some help thanks</p>
