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

		fBtn[0].addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent arg0) {
				new AddCommonCourseUI("common_course");
			}
		});

		fBtn[1].addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent arg0) {
				int selectRowNum = table.getSelectedRow();

				if (table.getSelectedRowCount() == 1 && selectRowNum != -1) {
					new EditCommonCourseUI((String) table.getValueAt(
							selectRowNum, 0));
				} else {
					JOptionPane.showMessageDialog(null,
							Feedback.SELECTION_ERROR.getContent());
				}
			}
		});

		fBtn[2].addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent arg0) {
				int selectRowNum = table.getSelectedRow();

				if (table.getSelectedRowCount() == 1 && selectRowNum != -1) {
					System.out.println(table.getValueAt(selectRowNum, 0));
					Feedback fb = logic.delCommonCourse((String) table
							.getValueAt(selectRowNum, 0));
					JOptionPane.showMessageDialog(null, fb.getContent());
				} else {
					JOptionPane.showMessageDialog(null,
							Feedback.SELECTION_ERROR.getContent());
				}
			}
		});
		fBtn[3].addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
				Object o = logic.showCourseEditHead();
				if (o instanceof String[]) {
					new ImportUI("common_course", (String[]) o);
				}
			}
		});

		fBtn[4].addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
				new ExportUI(head, content);
			}
		});

	}