J2ME, Canvas, CommandListener.

From: boki (bokiteam_at_ms21.hinet.net)
Date: 03/28/05

  • Next message: Ryan Dillon: "Re: GridBagLayout question"
    Date: 27 Mar 2005 17:15:42 -0800
    
    

    Hi All,
           When I change the screen of phone(emulator) from myMIDlet.java
    to myGUI.java, I can see the soft buttons I created in myGUI.java, but
    the commandAction () of myGUI.java didn't response any soft button
    event.

    /////// Activate MIDlet ///////
    ...
    ...
    display = Display.getDisplay(this);
    display.setCurrnet(gui);
    ...
    ==> Phone screen change to myGUI.java, and I can see the soft buttons
    I created.

    ==> but, even I pressed the soft button, the commandAction () of
    myGUI.java didn't get a entry point( My System.out.println("XXX"
    didn't show), the commandAction () of myMIDlet neither.

    Thank you very much for your help.
    Best regards,
    Boki.


  • Next message: Ryan Dillon: "Re: GridBagLayout question"
  • Quantcast