title: JButton in JList cell is not clickable
body: <p>In my current swing project I have a <code>JList</code> displaying all active sockets, and each cell has a <code>JButton</code> to close that socket. But the <code>JButton</code> in the cell is not clickable: listener does not get fired. </p>
  
  <p>I have modified the code to minimal as follows.</p>
  
  <pre><code>private class ConnectionListRenderer extends JButton implements ListCellRenderer {
  
      public Component getListCellRendererComponent(JList jlist, Object o, int i, boolean bln, boolean bln1) {
  
          addActionListener(new ActionListener() {
              public void actionPerformed(ActionEvent evt) {
                  //do something (close the socket in my project)
              }
          });
          return this;
      }
  }
  
  
  jList.setCellRenderer(new ConnectionListRenderer());
  </code></pre>
  
  <p>The list looks fine, but the button on in is not clickable. Am I wrong or <code>JList</code> just does not support <code>JButton</code> in the getting fired?</p>