Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

ProgressMonitorInputStream popup doesn't show up  RSS feed

 
Ashish Hareet
Ranch Hand
Posts: 375
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think I got it right , but then I'm missing something, here's the code
ProgressMonitorInputStream pin = new ProgressMonitorInputStream(parentFrame, "Descriptive string", new URL(articleURL).openStream());
BufferedReader buf = new BufferedReader(new InputStreamReader(pin));
//.... parsing the html page retrieved to get requisite info
The problem is that the progress monitor doesn't show up even when the process seems to take long.
Any help will be appreciated !
Thanx
Ashish H.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!