frame.addComponentListener( new ComponentAdapter() { public void componentResized( ComponentEvent e ) { bs.panel.view.relayout(); } } );
    public static void main(String[] args)            throws Exception {                //System.out.println(new URI("images/Stop24.gif"));        JFrame frame = new JFrame();        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);        BrowserStartup bs = new BrowserStartup();        bs.frame = frame;        bs.init();        frame.setJMenuBar(bs.menu);        frame.getContentPane().add(bs.panel);        frame.pack();        frame.setSize(600, 700);        frame.show();        if (args.length > 0) {            bs.panel.loadPage(args[0]);        }    }