-
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 :rolleyes:
-
Re: Web Crawler
Meant to say under List I'm currently receiving error message, sorry!
-
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;