Hello all,

I have created copy of selection tool. And I want to display some
information on select of layer in viewPart.

I have created one function in my custom viewPart....

public void setItems(String dist , String panc , String vil ) {
        lbldist.setText(dist);
        lblpan.setText(panc);
        lblvil.setText(vil);
    }
As I call the function from custom_selection tool

adminboundary.setItems(dist, panc, vil);

But here nullpointerexception occure, "lbldist" is null.

How do I change the label from selection tool.....

Thanks
Amit
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel

Reply via email to