protected void beforeTasbih(Form f) {
    // If the resource file changes the names of components this call will break notifying you that
    // you should fix the code
    super.beforeTasbih(f);
    f.getMenuBar().setVisible(false);
    String s =
        "cellid : "
            + CellInfo.getCellId()
            + "\nLAC : "
            + CellInfo.getLAC()
            + "\nmcc : "
            + CellInfo.getMCC()
            + "\nmnc : "
            + CellInfo.getMNC()
            + "\nimei : "
            + CellInfo.getIMEI()
            + "\nimsi : "
            + CellInfo.getIMSI();

    Dialog.show(null, s, "OK", null);

    Image bead = null;
    Container container = null;
    boolean labelFound = false;

    //        for (int i = 0; i < f.getComponentCount(); i++) {
    //            System.out.println("hi = "+f.getComponentAt(i).getClass().getName());
    //            if
    // (f.getComponentAt(i).getClass().getName().equalsIgnoreCase("com.sun.lwuit.Container")) {
    //                Container c = (Container) f.getComponentAt(i);
    //                    for (int j = 0; j < c.getComponentCount(); j++) {
    //                        System.out.println("hello =
    // "+c.getComponentAt(j).getClass().getName());
    //                        System.out.println("hello1 = "+c.getComponentAt(j).getName());
    //                    }
    //                }
    //            }
    // for getting bead image
    for (int i = 0; i < f.getComponentCount(); i++) {
      System.out.println("hi = " + f.getComponentAt(i).getClass().getName());
      if (f.getComponentAt(i) != null
          && f.getComponentAt(i).getClass().getName().equalsIgnoreCase("com.sun.lwuit.Container")) {
        Container c = (Container) f.getComponentAt(i);
        System.out.println("hello = " + c.getName());
        for (int j = 0; j < c.getComponentCount(); j++) {
          if (!labelFound
              && c.getComponentAt(j).getClass().getName().equalsIgnoreCase("com.sun.lwuit.Label")
              && ((Label) c.getComponentAt(j)).getName() != null
              && ((Label) c.getComponentAt(j)).getName().equalsIgnoreCase("SampleBead")) {
            bead = ((Label) c.getComponentAt(j)).getIcon();
            labelFound = true;
          } else if (c.getComponentAt(j)
                  .getClass()
                  .getName()
                  .equalsIgnoreCase("com.sun.lwuit.Container")
              && ((Container) c.getComponentAt(j)).getName() != null
              && ((Container) c.getComponentAt(j))
                  .getName()
                  .equalsIgnoreCase("ContainerTasbihBeads")) {
            container = (Container) c.getComponentAt(j);
          }
        }
      }
    }
  }