title: Hide the button of a JComboBox if is !enabled
body: <p>I would like to extends JComboBox class no change something, I want the new component to hide the selection button when the combobox is disabled.</p>
  
  <p>I can't find where this button is created</p>
  
  <p><strong>EDIT</strong> : so far I am using this code :</p>
  
  <pre><code>@Override
  public void setEnabled(boolean b)
  {
      super.setEnabled(b);
  
      Component[] comps = getComponents();
      for(Component comp : comps)
      {
          if(comp instanceof MetalComboBoxButton)
          {
              final MetalComboBoxButton dropDownButton = (MetalComboBoxButton) comp;
              dropDownButton.setVisible(b);
              break;
          }
      }
  }
  </code></pre>
  
  <p><strong>EDIT 2</strong> : I was unable to do what I want finally, as if I switch to Nimbus PLAF, even if I hide the button the background is drawn, so only the arrow is hidded, everything else is still there.</p>
  
  <p>I will have to do with a JPanel.</p>