How can I clear a form?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Aitor_Zabaleta
Posted On:   Thursday, November 21, 2002 12:23 AM

Hi. I´m making a J2ME program wich has 2 forms. The first form, takes you to the second form, and in the second one, I put some text. Like this: Hello, I´m the second form But when I go back to the firs form, and I try to go to the second form again, appears text like this: Hello, I´m the second formHello, I´m the second form What can I do any clear screen or simillar? Please, if you can put some sample code or any J2ME function to do this, put it here Thank you very much.    More>>

Hi.



I´m making a J2ME program wich has 2 forms. The first form, takes you to the second form, and in the second one, I put some text. Like this:



Hello, I´m the second form



But when I go back to the firs form, and I try to go to the second form again, appears text like this:




Hello, I´m the second formHello, I´m the second form



What can I do any clear screen or simillar?

Please, if you can put some sample code or any J2ME function to do this, put it here



Thank you very much.

   <<Less

Re: How can I clear a form?

Posted By:   Hoya_Luzy  
Posted On:   Tuesday, November 26, 2002 04:38 AM

this way:

for ( i=formHello.size()-1 , i > -1 , i-- ) formHello.delete(i);
About | Sitemap | Contact