hi, good day to you,

http://java.sun.com/developer/technicalArticles/ThirdParty/WebCrawler/WebCrawler.java

:-/

can anyone run this code in eclipse IDE ?
because i cant seem to run it though and it caused errors.
Is this code meant to run in IDEs ?
thanks for visiting this thread and hope you can help me.

I did copy and compile that program, got following errors

C:\HomeProjects\Daniweb\WebCrawler.java:16: reference to List is ambiguous, both class java.util.List in java.util and class java.awt.List in java.awt match
    List    listMatches;
    ^
C:\HomeProjects\Daniweb\WebCrawler.java:76: reference to List is ambiguous, both class java.util.List in java.util and class java.awt.List in java.awt match
	listMatches = new List(10);

All what you need to do is import java.awt.List; as this application was written in 1998 where List was single class.

PS: Application doesn't close convenient way (click on X) so you will have to kill it

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.