看 http://docs.oracle.com/javase/1.5.0/docs/api/javax/swing/table/DefaultTableModel.html
String[] columnNames = new String[] {"A","B","C"};
JTable table = new JTable(columnNames, 0);
DefaultTableModel model = (DefaultTableModel) table.getModel();
Random seed = new Random();
SimpleDateFormat format = new SimpleDateFormat("HH:mm:ss");
for(int i = 0; i < 1000; i++) {
table.addRow(new String[]{format.format(new Date()),String.valueOf(seed.nextInt()),String.valueOf(seed.nextInt())});
table.fireTableDataChanged();
Thread.sleep(1000);
};