I have a TextField
in which there is some text but I want to change that text on some event but I am getting the NullPointerException
.
I am using setText()
method but still its not working. I am calling that function from other class .
Any Help?
Thanks in advance.