🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Customized slider knob imagery

#7628
From: Torsten Welches
Date: Wed, 10 Jan 2001 06:58
19 lines
1923 bytes
Lars Thuring <thuring@t-online.de> wrote:
>I don't want that! ;-) Ok, I give in - is it possible to change the L&F from outside
>my app after it has started? It would set the L&F automatically and have no
>controlls for allowing the user to do that..

No, AFAIK it's not possible to change the L&F from outside the 
app but updateUI is a public  method and hence can be called
anytime from (almost) anywhere inside your app.
updateUI is supposted to be called in case the L&F changes
but I don't know if this is really the only case.

Actually I myself (mis-)used this method once to circumvent a
JTree redraw problem... (puh, I feel better now that it's out!) <g> 

Overriding updateUI to handle this should be not big a deal 
and may save you future headaches.

Torsten
Technical Details
Message-ID: <3a5c07fd$1_1@dnews>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!newsfeed.mesh.ad.jp!news.tele.dk!212.43.194.69!fr.clara.net!heighliner.fr.clara.net!news.imp.ch!news-zh.switch.ch!newsfeed-zh.ip-plus.net!news.ip-plus.net!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> <3a596304$1_2@dnews> <3A5BA461.AE510AF8@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-09 23:04:50 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> <3a596304$1_2@dnews>  <3A5BA461.AE510AF8@t-online.de> 
NNTP-Posting-Host: 207.105.83.65
Message-ID: <3a5c07fd$1_1@dnews>
Date: 9 Jan 2001 22:58:05 -0800
X-Trace: 9 Jan 2001 22:58:05 -0800, 207.105.83.65
Lines: 19
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!newsfeed.mesh.ad.jp!news.tele.dk!212.43.194.69!fr.clara.net!heighliner.fr.clara.net!news.imp.ch!news-zh.switch.ch!newsfeed-zh.ip-plus.net!news.ip-plus.net!bornews.borland.com!dnews!207.105.83.65