private javax.swing.JMenuBar getMB(){
	 JMenuBar mb=new  JMenuBar();//һ˵
	 JMenu me_file=new  JMenu("ļ");//˵
	 JMenuItem mi_find=new  JMenuItem("Һ");//µĲ˵:
	 mi_find.setActionCommand("find");
	 JMenuItem mi_exit=new  JMenuItem("˳");
	 mi_exit.setActionCommand("exit"); 
	 //˵ӵ˵
	 me_file.add(mi_find);
	 me_file.add(mi_exit);
		 //˵Ŀ¼
    ActionListener al=new  ActionListener(){
			 public void actionPerformed(ActionEvent e){
				 //˲˵ʱͻ
				 String command=e.getActionCommand();
				 if(command.equals("exit")){
					 System.exit(0);//˳
				 }
				 if(command.equals("find")){
					 findAction();//û
				 }
			 }
		 };
		 mi_find.addActionListener(al);
		 mi_exit.addActionListener(al);
		 mb.add(me_file);
		return mb;//ز˵
	}