|
-
Feb 14th, 2006, 09:57 AM
#1
Thread Starter
Hyperactive Member
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
-
Feb 14th, 2006, 09:57 AM
#2
Thread Starter
Hyperactive Member
Re: Web Crawler
Meant to say under List I'm currently receiving error message, sorry!
-
Feb 14th, 2006, 08:51 PM
#3
Frenzied Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|