public boolean collectInfo() {
		boolean r;
		switch (index) {
		case 0:
			r = ((ModulePanel) page[0]).collectModuleInfo();
			if (r) {
				page[1] = new TypePanel(
						((ModulePanel) page[0]).getModuleInfoList());
				mainPanel.add(page[1], "1");
				stepNum.setText("   STEP 2  ");
				stepInfo.setText("填写类别信息");
			}
			break;
		case 1:
			r = ((TypePanel) page[1]).collectTypeInfo();
			if (r) {
				page[2] = new CoursePanel(
						((TypePanel) page[1]).getTypeInfoList());
				mainPanel.add(page[2], "2");
				stepNum.setText("   STEP 3  ");
				stepInfo.setText("填写课程信息");
			}
			break;
		case 2:
			r = ((CoursePanel) page[2]).collectCourseInfo();
			if (r) {
				page[3] = new CommitPanel(
						((CoursePanel) page[2]).getCourseInfoList());
				mainPanel.add(page[3], "3");
				stepNum.setText("   FINAL STEP  ");
				stepInfo.setText("上传/确认信息");
				nextbtn.setText("完成");
			}
			break;
		default:
			r = false;
		}
		return r;
	}