private void loadTableDataFor(User u) { reloadTableData(); for (int i = 0; i < weeklyEvents.size(); i++) { WeeklyEvent we = weeklyEvents.get(i); if (!we.getCourse().getParticipants().contains(u)) { weeklyEvents.remove(we); i--; } } }
public WeeklyEventTableModel() { reloadTableData(); }