Beispiel #1
0
  public void commandAction(Command command, Displayable displayable) {
    // #ifdef DTESTUI
    super.outputCmdAct(command, displayable);
    // #endif
    if (command == m_backCommand) {
      if (m_dprev != null) {
        m_midlet.setCurrent(m_dprev);
        // #ifdef DMIDP20
      } else if (m_iprev != null) {
        m_midlet.setCurrentItem(m_iprev);
        // #endif
      }
    }

    if (command == m_aboutCommand) {
      new Thread(this).start();
    }
  }
Beispiel #2
0
 public void run() {
   Alert about = HelpForm.getAbout(m_midlet);
   m_midlet.setCurrent(about, this);
 }