public class WebText1 extends Text
{
   WordList getLinks()
   {
      WordList links = new WordList();
      for (String str : getWords())
      {
         if (str.startsWith(. . .))
         {
            . . .
         }
      }
      return . . .;
   }

   public void act() 
   {
      load("http://horstmann.com/index.html")
      WordList words = getLinks();
      words.addToWorld(this);
   }
}
