title: Disable Entire JPanel Including Components Inside Itself
body: <p>Currently, the disable a JPanel including all its components with a single method call, I have to override its disable method as follow :</p>
  
  <pre><code>@Override
  public void setEnabled(boolean enabled) {
      super.setEnabled(enabled);
      Component[] components = getComponents();
      if (components != null &amp;&amp; components.length &gt; 0) {
      int count = components.length;
      for (int i = 0; i &lt; count; i++)
          components[i].setEnabled(enabled);
      }
  }
  </code></pre>
  
  <p>Is there any standard way to do so? Instead providing my own implementation?</p>