private void updateComponent(String event) {
        if (null != project) {
            if ((null == event) || Project.EVENT_PERIODS.equals(event)) {
                periodsTextField.setValue(project.getPeriods());
            } else if ((null == event)
                    || Project.EVENT_INTEREST_RATE.equals(event)) {
                interestRateTextField.setText(interestFormat(project
                        .getInterestRate()));
            } else if ((null == event) || Project.EVENT_NAME.equals(event)) {
                projectNameTextField.setText(project.getName());
            } else if ((null == event) || Project.EVENT_MAX_MMFS.equals(event)) {
                maxMmfsPerPeriodTextField.setValue(project
                        .getMaxMmfsPerPeriod());
            }
        }
    }