Results 1 to 3 of 3

Thread: Web Crawler

  1. #1

    Thread Starter
    Hyperactive Member Olly79's Avatar
    Join Date
    May 2005
    Posts
    264

    Exclamation Web Crawler

    Hi all:

    I'm currently working on a Web Crawler, however I'm continually encountering problems.

    The error I'm receiving is on the following:


    Code:
    Public class WebCrawler extends Applet implements ActionListener, Runnable
    {
    public static final String SEARCH = "Search";
    public static final String STOP = "Stop";
    public static final String DISALLOW -"Disallow:";
    public static final int search_limit = 50;
    
    Panel  panelMain;
    List    listMatches;
    Label  labelStatus;
    Under lis I'm currently receiving the error message: Type "List" is imported by a least two "import on demand" statements?

    Any help very much appreciated.

    Olly

  2. #2

    Thread Starter
    Hyperactive Member Olly79's Avatar
    Join Date
    May 2005
    Posts
    264

    Re: Web Crawler

    Meant to say under List I'm currently receiving error message, sorry!

  3. #3
    Frenzied Member System_Error's Avatar
    Join Date
    Apr 2004
    Posts
    1,111

    Re: Web Crawler

    You're importing java.awt.*; java.util.*; both. Both packages contain Lists. Specifiy:

    Code:
    import java.awt.*;
    import java.util.*;
    import java.util.List;

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width