🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #144

[howto] change JProgressBar UI

#144
From: B
Date: Mon, 27 Mar 2006 14:03
15 lines
1519 bytes
Hello!
I have some
JProgressBar jProgressBar = new JProgressBar();

I would like to change its UI to (i.e.) MetalProgressBarUI and I don't
understand how to do it...
Could anyone give me some example?


And the second, but less important problem: is there any method to
change progress bar to the icon? (i.e. in indeterministic mode I would
like to put there some animated gif).

thanks,
Bzyk
Technical Details
Message-ID: <1143468234.160916.289450@t31g2000cwb.googlegroups.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!t31g2000cwb.googlegroups.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 111d45,34a0782eae3525c0,start
X-Google-Attributes: gid111d45,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!t31g2000cwb.googlegroups.com!not-for-mail
From: "B" <trufflecider@gmail.com>
Newsgroups: borland.public.jbuilder.java.swing
Subject: [howto] change JProgressBar UI
Date: 27 Mar 2006 06:03:54 -0800
Organization: http://groups.google.com
Lines: 16
Message-ID: <1143468234.160916.289450@t31g2000cwb.googlegroups.com>
NNTP-Posting-Host: 213.158.197.100
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1143468239 19357 127.0.0.1 (27 Mar 2006 14:03:59 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Mon, 27 Mar 2006 14:03:59 +0000 (UTC)
User-Agent: G2/0.2
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; Era; .NET CLR 2.0.50727; .NET CLR 1.1.4322),gzip(gfe),gzip(gfe)
Complaints-To: groups-abuse@google.com
Injection-Info: t31g2000cwb.googlegroups.com; posting-host=213.158.197.100;
   posting-account=Lw0tSA0AAAARh2qJNASQ1XJMqFKMK_4b