title: Make a bunch of JLabel 's' invisible
body: <p>I have 8 <code>JLabels</code> that i initially want to be invisible . The <code>jlabels</code> start from 25 and go 32. <code>_(i.e jLabel25 ---&gt; jLabel32)_</code> Instead of making them invisible one by one i was thinking of using a for loop that could make them invisible by following these lines of code :</p>
  
  <pre><code>for( int i = 25 ; i &lt;= 32 ; i++ ) {
          jLabel(i).setVisible(false);
  }
  </code></pre>
  
  <p>But i get an obvious error that says <strong>"Cannot find symbol , method--> jLabel(int) "</strong></p>
  
  <p>What should i do to avoid <em>writing 8 statements</em> asking to make each <code>label</code> invisible ?</p>