void actionDeleteCurrent() {
        int row = table.getSelectedRow();
        if (row > -1) {
            commands.remove(row);
            tableModel.removeRow(row);
        }
        delete.setEnabled(false);
    }