docs: public void surveyComponents(Component component)
      {
          // First, climb up and get the title from the frame.
          Component frame = component;
          while (frame != null)
          {
              if (frame instanceof Frame)
              {
                  title = ((Frame)frame).getTitle();
                  break;
              }
              frame = frame.getParent();
          }
          if (title == null)
              title = BLANK;
          // Now go through the components and line the printable ones up.
          Vector<Component> vector = new Vector<Component>();
          this.addComponents(((Container)component), vector);
          if (vector.size() == 0)
              vector.add(component);
          this.componentList = new Component[vector.size()];
          for (int i = 0; i < vector.size(); i++)
          {
              componentList[i] = (Component)vector.get(i);
          }
          
          this.resetAll();
      }