final int mixedDurationPenalty = (Integer) mixedDurationPenaltyField.getValue();
final int frontLoadLargeTopicSize = (Integer) frontLoadLargeTopicSizeField.getValue();
final int frontLoadLastPeriodSize = (Integer) frontLoadLastPeriodSizeField.getValue();
final int frontLoadPenalty = (Integer) frontLoadPenaltyField.getValue();
setVisible(false);
examinationPanel.doProblemFactChange(new ProblemFactChange() {
public void doChange(ScoreDirector scoreDirector) {
Examination examination = (Examination) scoreDirector.getWorkingSolution();
InstitutionParametrization institutionParametrization = examination.getInstitutionParametrization();
scoreDirector.beforeProblemFactChanged(institutionParametrization);
institutionParametrization.setTwoInARowPenalty(twoInARowPenalty);