AboutBox ab = new AboutBox("About Flying Saucer","demo:demos/about/index.xhtml");
AboutBox ab = new AboutBox("About Flying Saucer","demo:demos/index.xhtml");
    public static void main(String[] args) {        JFrame frame = new JFrame("About Box Test");        frame.setDefaultCloseOperation(frame.EXIT_ON_CLOSE);        JButton launch = new JButton("Show About Box");        frame.getContentPane().add(launch);        frame.pack();        frame.setVisible(true);                launch.addActionListener(new ActionListener() {            public void actionPerformed(ActionEvent evt) {                AboutBox ab = new AboutBox("About Flying Saucer","demo:demos/about/index.xhtml");                ab.setVisible(true);            }        });    }