frame.getContentPane().add(bs.panel);
frame.getContentPane().add(bs.panel.toolbar, BorderLayout.PAGE_START); frame.getContentPane().add(bs.panel, BorderLayout.CENTER); bs.panel.setBorder(new EtchedBorder(EtchedBorder.LOWERED)); frame.getContentPane().add(bs.panel.status, BorderLayout.PAGE_END);
    public static void main(String[] args) {        if (GeneralUtil.isMacOSX()) {            try {            System.setProperty("apple.laf.useScreenMenuBar", "true");            System.setProperty("com.apple.mrj.application.apple.menu.about.name", "FS Browser");            } catch (Exception ex) {                try {                logger.log(Level.SEVERE,"error initalizing the mac properties",ex);                } catch (Exception ex2) {                    //System.out.println("error writing to the log file!" + ex2);                    //ex2.printStackTrace();                }            }        }        //System.out.println(new URI("images/Stop24.gif"));        JFrame frame = new JFrame();        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);        final BrowserStartup bs = new BrowserStartup();        bs.frame = frame;        if (args.length > 0) {            bs.startPage = args[0];        }                bs.init();        frame.setJMenuBar(bs.menu);        frame.getContentPane().add(bs.panel);        frame.pack();        frame.setSize(700, 600);        frame.show();    }