private JPanel constructEditPanel() {
JPanel retPanel = new JPanel(false);
retPanel.setLayout(new BorderLayout());
tableModel = new TimeLogTableModel();
if (Settings.isReadOnly() || forceReadOnly)
tableModel.setEditable(false);
tableModel.setApprover(approver);
tableModel.addTableModelListener(this);
table = new TimeLogJTable(tableModel);