 <p>In order to define an <code>ArrayList</code> with <code>CheckBoxes</code> please refer to following example:</p> <pre><code>List&lt;JCheckBox&gt; chkBoxes = new ArrayList&lt;JCheckBox&gt;(); </code></pre> <p>Add your <code>JCheckBox</code> elements to the <code>ArrayList</code> using standard approach, for example:</p> <pre><code>JCheckBox chkBox1 = new JCheckBox(); chkBoxes.add(chkBox1); </code></pre> <p>Interatve over the list and carry out check if selected using <code>JCheckBox</code> method <code>#.isSelected()</code> as follows:</p> <pre><code>for(JCheckBox chkBox : chkBoxes){ chkBox.isSelected(); // do something with this! } </code></pre>