 private void updateEmpoyeeFormUI() {
        //Getting currently selected employee
        final Employee employee = (Employee) EmployeeData.getData().elementAt(index);
        //Setting First Name
        getSvgTextFieldFirstName().setText(employee.getFirstName());
        //Setting Last Name
        getSvgTextFieldLastName().setText(employee.getLastName());
         //Setting Gender
        if (employee.getGender()) {
            getSvgRadioButton().setSelected(false);
            getSvgRadioButton1().setSelected(true);
        } else {
            getSvgRadioButton().setSelected(true);
            getSvgRadioButton1().setSelected(false);
        }
        //Setting age
        getSvgSpinner().getModel().setValue(new Integer(employee.getAge()));
    }