title: Unable to add two buttons in a single cell in a JTable
body: <p>I am trying to make a dynamic table that fetches data from a database and adds those data in separate rows..<strong>I want to add an extra cell with each row(dynamically) that contains two buttons...and on clicking those buttons some event should occur only on the respective row</strong>..<br>
  <em>(P.S: I have managed to fetch data from the database and add it to the table  though..)</em></p>
  
  <p>Here is an example:</p>
  
  <pre><code>_____________________________________________________________
  ID  | Name | Application for leave | Accept/Reject           |
  --------------------------------------------------------------
  1   |AD    | xxxxxxxxxxxxxxxxxx    |AcceptButton RejectButton| 
  2   |SD    | xxxxxxxxxxxxxxxxxx    |AcceptButton RejectButton|
  3   |PD    | xxxxxxxxxxxxxxxxxx    |AcceptButton RejectButton|
  4   |DD    | xxxxxxxxxxxxxxxxxx    |AcceptButton RejectButton|
  5   |MD    | xxxxxxxxxxxxxxxxxx    |AcceptButton RejectButton|
  --------------------------------------------------------------
  </code></pre>
  
  <p>The AcceptButton and RejectButton should be dynamically added with each row during runtime..If I press the AcceptButton or RejectButton that row should automatically get deleted and the row with the respective ID in the database should get updated..    </p>