title: The "field hides another field" warning in java - Netbeans
body: <p>I'm coding two classes.</p>
  
  <pre><code>public class ServerPanel extends JPanel{
  
  private EventListenerList listenerList = new EventListenerList();
  (...)
  }
  </code></pre>
  
  <p>And</p>
  
  <pre><code>public class DetailsPanel extends JPanel{
  
  private EventListenerList listenerList = new EventListenerList();
  (...)
  }
  </code></pre>
  
  <p>now, Netbeans is warning me for field hides another field, for the listenerList variable.</p>
  
  <p>So my question is, is this a serious problem? Will I have problems later on when adding / removing events?</p>
  
  <p>Is this good java practicing?</p>
  
  <p>What should I do?</p>
  
  <p>Thanks!</p>