title: setForeground color in every component at one command java swing
body: <p>When i write:</p>
  
  <pre><code>jLabel1.setForeground(Color.Red);
  jTextArea1.setForeground(Color.Red);
  </code></pre>
  
  <p>it works.
  But i want to set this color at an one command.</p>
  
  <p>Suppose i write setForeground(Color.Red), it will set for all the components.</p>
  
  <p>Is it Possible?</p>
  
  <p>Thanks in advance.</p>