public void actionPerformed(ActionEvent e) {
        if ("New".equals(e.getActionCommand())) { //new
            createFrame();
        }else if ("Close".equals(e.getActionCommand())) {
                this.close();
        }else if("Closeall".equals(e.getActionCommand())) {
                this.closeall();
        }else if("Author".equals(e.getActionCommand())) {
                authorFrame a = new authorFrame();
                a.setVisible(true);
        }else if("Help".equals(e.getActionCommand())) {
                helpFrame a = new helpFrame();
                a.setVisible(true);
        }else quit();
    }