This discussion is archived
2 Replies Latest reply: Jan 4, 2009 9:00 AM by 843851 RSS

display a static text in actionPerformed

843851 Newbie
Currently Being Moderated
Hi,

I am trying to display a static text in the xlet when i recieve an action .
And in actionperformed method i am setting the textcontent of the StaticText field and then destroying the xlet and then calling the next xlet.
but when i am doing this i was navigated to the next xlet but the text was not displayed .
the code looks like this:


{locateText.setTextContent("Locating teen...",HState.ACTIONED_STATE);
destroy();
MapSc sample2 = new MapSc();
sample2.start();}

-Cotton