title: JPanel Action Listener
body: <p>I have a JPanel with a bunch of different check boxes and text fields, I have a button that's disabled, and needs to be enabled when specific configurations are setup.
  What I need is a listener on the the whole JPanel looking for events, whenever anything changes. 
  I believe I need an action listener but I can't find anything to bridge the action Listener with the JPanel</p>
  
  <pre><code>JPanel Window = new JPanel();
  Window.addActionListener(new ActionListener(){
  //Check if configurations is good
  }
  </code></pre>
  
  <p>I figure I can copy and paste my code a bunch of times into every listener in the panel, but that seems like bad coding practice to me.</p>