System.exit(0);
try { FileDialog fd = new FileDialog(root.frame,"Open a local file",FileDialog.LOAD); fd.show(); String file = fd.getDirectory() + fd.getFile(); root.panel.loadPage(file); } catch (Exception ex) { logger.info("error:" + ex); }
            public void actionPerformed(ActionEvent evt) {                System.exit(0);            }