@Override
		public void run() {
			if (action.equals("exit"))
				System.exit(0);
			else if (action.equals("resort"))
				MainFrame.this.updateDisplay();
			else if (action.equals("admin"))
				admin.setVisible(true);
			else if (action.equals("author")) {
				author.setVisible(true);
			} else if (action.equals("add"))
				add();
			else if (action.equals("remove"))
				remove();
			else if (action.equals("modify"))
				modify();
			else if (action.equals("filterByName")) {
				showAll = false;
				MainFrame.this.filterByName = true;
				nameOrNo = MainFrame.this.filter.getText();
				MainFrame.this.updateDisplay();
			} else if (action.equals("filterByNo")) {
				showAll = false;
				MainFrame.this.filterByName = false;
				nameOrNo = MainFrame.this.filter.getText();
				MainFrame.this.updateDisplay();
			} else if (action.equals("showAll")) {
				showAll = true;
				MainFrame.this.updateDisplay();
			} else
				JOptionPane.showMessageDialog(MainFrame.this,
						"δ֪Ķ:" + action, "", JOptionPane.ERROR_MESSAGE);
		}