tags:

views:

44

answers:

0

I am creating the a browser using mozilla web client by invoking setAppData() on BrowserControlFactory.I have placed xulruuner at c:\demo folder.

code of program is as follows :

Editor()
    {
        setVisible(true);
        setSize(200,200);
        try
        {
        BrowserControlFactory.setAppData("c:\\demo\\xulrunner");
        }catch(Exception ex)
        {
            ex.printStackTrace();
        }
    }

Here Editor() extends JFrame.

It invokes following exception at run time . C:\demo\webclient_2_0_a9_rc3\webclient_2_0_a9\netbeans\nbproject\build-impl.xml:382: Problem: failed to create task or type http://www.netbeans.org/ns/j2se-project/3%3Aforce-recompile Cause: The name is undefined. Action: Check the spelling. Action: Check that any custom tasks/types have been declared. Action: Check that any / declarations have taken place. The definitions in the namespace http://www.netbeans.org/ns/j2se-project/3 are: javac debug junit