PDA

Click to See Complete Forum and Search --> : Web Crawler


Olly79
Feb 14th, 2006, 08:57 AM
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:


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:

Olly79
Feb 14th, 2006, 08:57 AM
Meant to say under List I'm currently receiving error message, sorry!

System_Error
Feb 14th, 2006, 07:51 PM
You're importing java.awt.*; java.util.*; both. Both packages contain Lists. Specifiy:


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