2 Replies Latest reply: Jan 4, 2009 11:00 AM by 843851 RSS

    display a static text in actionPerformed

    843851
      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