🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Customized slider knob imagery

#7612
From: Torsten Welches
Date: Mon, 08 Jan 2001 06:49
16 lines
1631 bytes
Lars Thuring <thuring@t-online.de> wrote:
>Ouch. Would that also be the case if L&F only can be set at startup? I mean the
>slider & it's UI are created at a later stage (at some point in program
>execution) so wouldn't the selected UI be overriden anyway?
>
I guess you should better not count on updateUI getting called
only once at startup. 
If it's ok for you to inherit from BasicSliderUI for all L&Fs 
you could just override updateUI and be done with it.
If you want to keep the original UIs for all L&F 
(don't know if there are any differences among the Sliders 
at all) you would have to do more work. ;-)

Good luck,
Torsten
Technical Details
Message-ID: <3a596304$1_2@dnews>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!newsfeed.mesh.ad.jp!hub.org!hub.org!PeerFeed.KWeb.on.ca!bornews.borland.com!dnews!207.105.83.65
References: <3A567ADC.25868A32@t-online.de> <3a56f931$1_1@dnews> <3A57A5E1.10B75D6B@t-online.de> <3a5872c8_1@dnews> <3A58F04B.FC74ABE9@t-online.de>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,f6e07f74041fb29d
X-Google-Attributes: gid111d45,public
X-Google-ArrivalTime: 2001-01-07 23:04:05 PST
From: "Torsten Welches" <torsten.welches@who.cares.netcologne.de>
Sender: "Torsten Welches" <torsten.welches@who.cares.netcologne.de>
Reply-To: "Torsten Welches" <torsten.welches@who.cares.netcologne.de>
Subject: Re: Customized slider knob imagery
Newsgroups: borland.public.jbuilder.java.swing
X-User-Info: 193.158.55.74 193.158.55.74    
References: <3A567ADC.25868A32@t-online.de> <3a56f931$1_1@dnews> <3A57A5E1.10B75D6B@t-online.de> <3a5872c8_1@dnews>  <3A58F04B.FC74ABE9@t-online.de> 
NNTP-Posting-Host: 207.105.83.65
Message-ID: <3a596304$1_2@dnews>
Date: 7 Jan 2001 22:49:40 -0800
X-Trace: 7 Jan 2001 22:49:40 -0800, 207.105.83.65
Lines: 17
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!newsfeed.mesh.ad.jp!hub.org!hub.org!PeerFeed.KWeb.on.ca!bornews.borland.com!dnews!207.105.83.65