Date field format in JTable
===

While I retrieve a date field from access database and show it in JTable, it is in yyyy-MM-dd format. I want it to be dd-MM-yyyy. Though I changed the format in MS Access, while it is shown in panel it is in yyyy-MM-dd only. How can I change it? 
	
The date field is one of the many fields I retrieve with a query. So, I don't understand where to put the SimpleDateFormatter and format it for each row. Kindly help me out. Thanks in advance. 

    try
    {
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    Connection conn=DriverManager.getConnection("jdbc:odbc:vasantham","","");
    Statement st=conn.createStatement();
    System.out.println(query);
    ResultSet rs=st.executeQuery(query);
    ResultSetMetaData md=rs.getMetaData();
    int cols=md.getColumnCount();
    model=new DefaultTableModel();
    
    model.addColumn("Purpose");
    model.addColumn("Name");
    model.addColumn("Manu");
    model.addColumn("Expiry");
    model.addColumn("Stock");
    model.addColumn("Cost");
    model.addColumn("Supplier");
    model.addColumn("Supplier Number");
    model.addColumn("Rack");
    
    table=new JTable(model);
    
    String[] tabledata=new String[cols];
    int i=0;
    
    while(rs.next())
    {
    for(i=0;i<cols;i++)
    {
     tabledata[i]=rs.getObject(i+1).toString();
    
    }
    model.addRow(tabledata);
    
    }
    panel.removeAll();
    JScrollPane scroll = new JScrollPane(table); 
    panel.setLayout(new BorderLayout());
    
    panel.add(scroll,BorderLayout.CENTER);
    frame.add(panel,BorderLayout.CENTER);
    conn.close();
    }
    catch(Exception e)
    {
    System.out.println(e);
    }
    }