> 
> It should be:
> 
> DefaultTreeModel model = new DefaultTreeModel(root);
>                          ^^^
> 
> as you're creating an object there.

        100% Correct (Even I should have seen it)! Thanks people fo you help!

-- 
        Mario Filipe 
        [EMAIL PROTECTED]
        http://neptuno.sc.uevora.pt/~mjnf


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to