private void setRightTable() {
        Object[][] obj = new Object[eventsList.size()][1];
        Object[] temp = {""};

        int i = 0;
        for (DayEvents de : eventsList) {
            obj[i][0] = de.getName();
            i++;
        }
        rightTable = new JTable(obj, temp);
        if (eventsList.size() == 0) {
            rightTable.setShowGrid(false);
        } else {
            rightTable.setShowGrid(true);
        }

        rightTable.setTableHeader(null);
        rightTable.setRowHeight(40);
        rightTable.setGridColor(Color.lightGray);
        rightTable.setEnabled(false);
    }