This discussion is archived
0 Replies Latest reply: May 20, 2011 2:01 AM by 392544 RSS

Where in the MIDlet life-cycle should I create multiple forms with LWUIT ?

392544 Newbie
Currently Being Moderated
Hi all,

I must create two LWUIT forms in my application. Where should I create the two forms ? I created the first form in the startApp life-cycle method , and when I tried to create also the second form in the startApp method then there is a NullPointerException raised when running the application !

So where , or how , should I create the second form ?

Thank you very much indeed

Edited by: andrianiaina on May 20, 2011 1:59 AM

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points