khwang0 / 2018F-COMP3111

19 stars 13 forks source link

[Basic 3] Real-time message showing scraping status #59

Open billy1624 opened 6 years ago

billy1624 commented 6 years ago

Write to the Console tab and show how many pages has already been scraped during the process. So that the user would aware the program is still running. (Note: asychronized I/O is not required.) [4]

I wonder if I should write the message showing fetching status in real-time? i.e. I will need to start a new Thread for fetching the data from website. Is that part of the requirement?

Thanks!!

comp3111ta commented 6 years ago

1) Using thread is one of the many options. It is not a must. E.g. using call back also works. wait may also work. 2) One group of student write the message in command line console (System.out.println()) for this particular part. And that is also acceptable.