private void setListener() {
		rBtn.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent arg0) {
				showCourseTable();
			}
		});

		infoTable.addMouseListener(new MouseAdapter() {
			public void mouseClicked(MouseEvent e) {
				int selectRowNum = infoTable.getSelectedRow();
				int clickedCount = e.getClickCount();
				if (clickedCount == 2) {
					if (infoTable.getSelectedRowCount() == 1
							&& selectRowNum != -1) {
						Feedback fb = logic.byelectCommonCourse(infoTable
								.getValueAt(selectRowNum, 0).toString());
						if (fb == Feedback.OPERATION_SUCCEED) {
							JOptionPane.showMessageDialog(null, "补选成功！");
						} else {
							JOptionPane.showMessageDialog(null,
									"补选失败：" + fb.getContent());
						}
					}
				} else if (clickedCount == 1) {
					if (infoTable.getSelectedRowCount() == 1
							&& selectRowNum != -1) {
						Object o = logic.showCourseDetail(logic
								.showCurrentTerm(),
								infoTable.getValueAt(selectRowNum, 0)
										.toString());
						if (o instanceof CourseDetailVO) {
							area.setText("");
							area.append("课程介绍：\r\n"
									+ ((CourseDetailVO) o).introduction
									+ "\r\n\r\n" + "推荐书目：\r\n"
									+ ((CourseDetailVO) o).book + "\r\n\r\n"
									+ "课程大纲：\r\n"
									+ ((CourseDetailVO) o).syllabus
									+ "\r\n\r\n");
						}
					} else {
						area.setText("");
					}
				}
			}
		});
	}