title: JTable setCellRenderer to format a text field to date?
body: <p>I have a SQLite database with a date stored as <code>VARCHAR</code> (yyyy-mm-dd), for example <code>'2013-01-25'</code>.
  My query retrieves the records from the table and displays it as stored.  I need to display the <code>VARCHAR</code> data in my <code>JTable</code> as 'Friday January 25, 2013'.  I suspect using <strong>setCellRenderer</strong> for the column containing the VARCHAR is the way to go.  Further, I think it will be a two step process: first, converting the VARCHAR to a date value then formatting the date as desired.  I can do so as follows if I grab the VARCHAR value from the <code>JTable</code> and display it in a <code>JTextField</code>:</p>
  
  <pre><code>MyDate = new SimpleDateFormat("yyyy-MM-dd").parse(rs.getString("My_Date"));
  </code></pre>
  
  <p>and then formatting it as desired</p>
  
  <pre><code>MyDateStr = new SimpleDateFormat("EEEE MMMM d, yyyy").format(MyDate);
  </code></pre>
  
  <p>That's all well and good; however, I need the formatted display in the <code>JTable</code> column.  I've never used <code>setCellRenderer</code>, so I could use some help getting started.</p>