> how can i define public variables using netbeans bcoz it doesn't allow to
> add variable at the portion of code where we initialize all the variables.
> actually i want to create nodes for JTree. and i want to a.s them
> dynamically so i need those variables in one function. so i want to define
> them public.
Please ask in comp.lang.java.softwaretools.
Christian
> how can i define public variables using netbeans bcoz it doesn't allow to
> add variable at the portion of code where we initialize all the variables.
> actually i want to create nodes for JTree. and i want to a.s them
> dynamically so i need those variables in one function. so i want to define
> them public.
> thanks a lot in advance.
In the variables' Properties section, select the Code tab and use the
Variable Modifiers dialog.

Signature
Nigel Wade, System Administrator, Space Plasma Physics Group,
University of Leicester, Leicester, LE1 7RH, UK
E-mail : nmw@ion.le.ac.uk
Phone : +44 (0)116 2523548, Fax : +44 (0)116 2523555