title: Simple Edittable JTable With Input Validation
body: <p>I want to write a very simple JTable. </p>
  
  <p>The user can edit the cells by entering a valid double. If the user's input is invalid (i.e. they enter a string), I want my table to throw out the invalid input, show the last good input, and display an error message to the user.</p>
  
  <p>I also want the numbers in the table to be formatted like so:
  "###.##%"</p>
  
  <p><strong>How can I go about something doing this?</strong></p>
  
  <p><strong>Additional Info</strong><br>
  I know bits and pieces of what I need to do, but am having trouble connecting the dots.  </p>
  
  <p>For instance, I know that to get the formatting correct, I have to subclass <code>DefaultTableCellRenderer</code> however I am not really sure of exactly what I need in the <code>getTableCellRendererComponent()</code> method.</p>
  
  <p>I am pretty sure I will have to subclass <code>DefaultCellEditor</code> to get the editing and error checking to work properly. I have read a lot of different stuff about this though. I am not sure where the best place would be to check for valid input. I have also read about <code>InputVerifier</code> and am not sure how to use this or if I even should.</p>
  
  <p><strong>A small example of how something like this would work and a brief explanation of the different classes/methods that I have to extend/override would really help me.</strong>  </p>
  
  <p>Thanks </p>