🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.java
Article #305

Re: JProgress Bar

#305
From: Paul Murray
Date: Tue, 20 Feb 2001 19:57
15 lines
2060 bytes
> I've only had limited experience with the JProgressBar but this is what
> I had. If you are doing the processing in a separate class its a little
> more difficult, but...
> Basically, I think the progress bar indicator is by a % string rather
> than a series of bar indicating its progress.

It's based on a BoundedRangeModel, which defaults to 0-100.

You will have repaint problems if you are using the swing thread to do heavy
processing. This kind of thing needs to be farmed off to a worker thread.

--------------------------------------------------------------
0x29A - opcode of the beast!
http://www.users.bigpond.com/pmurray
ICQ: 26066755
Technical Details
Message-ID: <ioKk6.74$v5.295@newsfeeds.bigpond.com>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!news.iac.net!news-out.cwix.com!newsfeed.cwix.com!news.maxwell.syr.edu!intgwpad.nntp.telstra.net!newsfeeds.bigpond.com!not-for-mail
References: <n7nV5.10645$IE2.568727@news1.sshe1.sk.home.com> <3A925729.E0A08295@wagoonline.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10d6db,811890bd19610234
X-Google-Attributes: gid10d6db,public
X-Google-Thread: 113ae9,811890bd19610234
X-Google-Attributes: gid113ae9,public
X-Google-Thread: 10a146,1a398f7cadb5834b
X-Google-Attributes: gid10a146,public
X-Google-Thread: 10fd6d,811890bd19610234
X-Google-Attributes: gid10fd6d,public
X-Google-ArrivalTime: 2001-02-21 00:05:26 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!news.iac.net!news-out.cwix.com!newsfeed.cwix.com!news.maxwell.syr.edu!intgwpad.nntp.telstra.net!newsfeeds.bigpond.com!not-for-mail
From: "Paul Murray" <pmurray@nospam.bigpond.com>
Newsgroups: aus.computers.java,comp.lang.java.gui,comp.lang.java.help,comp.lang.java.programmer
References: <n7nV5.10645$IE2.568727@news1.sshe1.sk.home.com> <3A925729.E0A08295@wagoonline.com>
Subject: Re: JProgress Bar
Lines: 17
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.3018.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.3018.1300
Message-ID: <ioKk6.74$v5.295@newsfeeds.bigpond.com>
Date: Wed, 21 Feb 2001 06:57:27 +1100
NNTP-Posting-Host: 203.54.250.185
X-Trace: newsfeeds.bigpond.com 982741646 203.54.250.185 (Wed, 21 Feb 2001 18:47:26 EST)
NNTP-Posting-Date: Wed, 21 Feb 2001 18:47:26 EST
Organization: Telstra BigPond Internet Services (http://www.bigpond.com)