I thought that onChangeState was never called before the Label was constructed, but it turns out it is called before. So now I use:
if (statusLabel !is null)
statusLabel.setText(message);
Now it works.
Thanks!
I thought that onChangeState was never called before the Label was constructed, but it turns out it is called before. So now I use:
if (statusLabel !is null)
statusLabel.setText(message);
Now it works.
Thanks!