title: Java get JPanel Components
body: <p>I have a JPanel full of JTextFields...</p>
  
  <pre><code>for (int i=0; i&lt;maxPoints; i++) {
      JTextField textField = new JTextField();
      points.add(textField);
  }
  </code></pre>
  
  <p>How do I later get the JTextFields in that JPanel? Like if I want their values with  </p>
  
  <pre><code>TextField.getText();
  </code></pre>
  
  <p>Thanks</p>