Пример #1
1
  public List getL_vars() {
    if (l_vars == null) {

      l_vars =
          new List("\u041F\u0435\u0440\u0435\u043C\u0435\u043D\u043D\u044B\u0435", Choice.IMPLICIT);
      l_vars.addCommand(getC_canvas());
      l_vars.addCommand(getC_insert());
      l_vars.addCommand(getC_delvar());
      l_vars.setCommandListener(this);
    }
    return l_vars;
  }
Пример #2
1
  public List getL_history() {
    if (l_history == null) {

      l_history =
          new List(
              "\u0418\u0441\u0442\u043E\u0440\u0438\u044F \u0432\u044B\u0447\u0438\u0441\u043B\u0435\u043D\u0438\u0439",
              Choice.IMPLICIT);
      l_history.addCommand(getC_canvas());
      l_history.addCommand(getC_insert());
      l_history.setCommandListener(this);
    }
    return l_history;
  }
Пример #3
1
  private void LiveCameras() {
    LiveCameras = new List("Live Cameras", Choice.IMPLICIT);
    viewImage = new Command("view", Command.OK, 1);
    camList = new Command("back", Command.BACK, 2);
    refreshList = new Command("refresh List", Command.OK, 0);

    LiveCameras.addCommand(viewImage);
    LiveCameras.addCommand(camList);
    LiveCameras.addCommand(refreshList);
    LiveCameras.setCommandListener(this);

    new Thread() {
      public void run() {
        controller.showProgressBar();
      }
    }.start();
    refreshCamList();
  }