roomListField.setSelectedItem(lecture.getRoom());
listFieldsPanel.add(roomListField);
int result = JOptionPane.showConfirmDialog(CurriculumCoursePanel.this.getRootPane(), listFieldsPanel,
"Select period and room", JOptionPane.OK_CANCEL_OPTION);
if (result == JOptionPane.OK_OPTION) {
Period toPeriod = (Period) periodListField.getSelectedItem();
solutionBusiness.doMove(new PeriodChangeMove(lecture, toPeriod));
Room toRoom = (Room) roomListField.getSelectedItem();
solutionBusiness.doMove(new RoomChangeMove(lecture, toRoom));
solverAndPersistenceFrame.resetScreen();
}