private void addMenu() {        //Ӳ˵
        myMenuBar=new JMenuBar();
        this.setJMenuBar(myMenuBar);
        JMenu fileMenu=new JMenu("ļ");
        JMenu helpMenu=new JMenu("");
        myMenuBar.add(fileMenu);
        myMenuBar.add(helpMenu);

        JMenuItem exitItem=new JMenuItem("˳");         //˳
        fileMenu.add(exitItem);
        exitItem.addActionListener(new ActionListener() {
            @Override
            public void actionPerformed(ActionEvent e) {
                System.exit(0);
            }
        });

        JMenuItem helpBookItem=new JMenuItem("ĵ ");      //򿪰ĵ
        helpBookItem.addActionListener(new ActionListener() {
            @Override
            public void actionPerformed(ActionEvent e) {
                Desktop desk=Desktop.getDesktop();

                try
                {

                    File file=new File("PIA/helpBook/help.html");
                    desk.open(file); //openFile fļ
                }catch(Exception fileNotExist)
                {
                    JOptionPane.showMessageDialog(null,"ļ","",JOptionPane.ERROR_MESSAGE);

                }
            }
        });


        JMenuItem aboutItem=new JMenuItem("");        //˵
        aboutItem.addActionListener(new ActionListener() {
            @Override
            public void actionPerformed(ActionEvent e) {
                JOptionPane.showMessageDialog(null, "ߣzeroten\n" +
                        "ַhttp://www.itoldme.net\n" +
                        "汾1.0","",JOptionPane.INFORMATION_MESSAGE);
            }
        });

        helpMenu.add(helpBookItem);
        helpMenu.add(aboutItem);

        setSize(600, 400);          //ôڲ
        setLocationRelativeTo(null);
        setVisible(true);
        setResizable(false);

        setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);

        addWindowListener(new WindowAdapter() {
            public void windowClosing(WindowEvent e) {
                DB.close();     //ڹرʱرݿ
                System.exit(0);
            }
        });

    }