col.setCellRenderer(renderer);
col.setResizable(false);
// Setup Media file column
col = getColumn("Media");
TableCellEditor cellEditor = new DefaultCellEditor(new JTextField());
MediaFileCellEditorListener mcl =
new MediaFileCellEditorListener();
cellEditor.addCellEditorListener(mcl);
col.setCellEditor(cellEditor);
MediaFileCellRenderer m_renderer = new MediaFileCellRenderer();
col.setCellRenderer(m_renderer);
// Setup StartTime column
col = getColumn("Start Time");
cellEditor = new DefaultCellEditor(new JTextField());
StartCellEditorListener scl = new StartCellEditorListener(this);
cellEditor.addCellEditorListener(scl);
col.setCellEditor(cellEditor);
col.setResizable(false);
col.setCellRenderer(renderer);
// Setup PlayingTime column
col = getColumn("Play Time");
cellEditor = new DefaultCellEditor(new JTextField());
PlayingTimeCellEditorListener dcl = new PlayingTimeCellEditorListener();
cellEditor.addCellEditorListener(dcl);
col.setCellEditor(cellEditor);
col.setResizable(false);
col.setCellRenderer(renderer);
}