🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.java
Article #295

Re: Progress Bar in Web Browser.

#295
From: Keene Hammond
Date: Sun, 31 Dec 2000 03:46
21 lines
2211 bytes
Just a guess, but maybe you could call getHead on the document and determine
the size and then use that to track your progress.


"jin" <jin@freeworld.com> wrote in message
news:_S136.45680$_h.290717@NewsReader...
> Hi.
>
> I've been playing around with the examples and tutorials for progress bars
> at various sites including the sun site.  All I want is a progress bar
that
> will show the download progress of a web page.  I am using JEditorPane to
> view the page initially.  I can make the actual progress bar but I don't
> know how to get the progress from the web page.
>
> Please can someone point me in the direction of some usefull code or
> example, thankyou.
>
> -simon
>
>
Technical Details
Message-ID: <_Zx36.78846$7I.9702073@typhoon.nyroc.rr.com>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!newsfeed.mesh.ad.jp!europa.netcrusader.net!208.184.7.66!newsfeed.skycache.com!Cidera!cyclone-0.nyroc.rr.com!cyclone-out.nyroc.rr.com!typhoon.nyroc.rr.com.POSTED!not-for-mail
References: <_S136.45680$_h.290717@NewsReader>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f5d71,50cabf815b35c0c9
X-Google-Attributes: gidf5d71,public
X-Google-Thread: 10fd6d,50cabf815b35c0c9
X-Google-Attributes: gid10fd6d,public
X-Google-Thread: 10a146,50cabf815b35c0c9
X-Google-Attributes: gid10a146,public
X-Google-Thread: 113ae9,50cabf815b35c0c9
X-Google-Attributes: gid113ae9,public
X-Google-Thread: 10d6db,50cabf815b35c0c9
X-Google-Attributes: gid10d6db,public
X-Google-ArrivalTime: 2000-12-30 19:54:19 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!newsfeed.mesh.ad.jp!europa.netcrusader.net!208.184.7.66!newsfeed.skycache.com!Cidera!cyclone-0.nyroc.rr.com!cyclone-out.nyroc.rr.com!typhoon.nyroc.rr.com.POSTED!not-for-mail
From: "Keene Hammond" <khammon1@rochester.rr.com>
Newsgroups: aus.computers.java,comp.lang.java,comp.lang.java.gui,comp.lang.java.help,comp.lang.java.programmer
References: <_S136.45680$_h.290717@NewsReader>
Subject: Re: Progress Bar in Web Browser.
Lines: 23
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Message-ID: <_Zx36.78846$7I.9702073@typhoon.nyroc.rr.com>
Date: Sun, 31 Dec 2000 03:46:02 GMT
NNTP-Posting-Host: 24.169.199.124
X-Complaints-To: abuse@rochester.rr.com
X-Trace: typhoon.nyroc.rr.com 978234362 24.169.199.124 (Sat, 30 Dec 2000 22:46:02 EST)
NNTP-Posting-Date: Sat, 30 Dec 2000 22:46:02 EST
Organization: Time Warner Road Runner - Rochester NY