title: loop through JPanel
body: <p>In order to initialize all <code>JTextfField</code>s on a <code>JPanel</code> when users click a "clear button", I need to loop through the <code>JPanel</code> (instead of setting all individual field to "").</p>
  
  <p>How can I use a for-each loop in order to iterate through the <code>JPanel</code> in search of <code>JTextField</code>s?</p>