Article View: borland.public.jbuilder.java.swing
Article #428UI management
From: Mike
Date: Thu, 12 May 2005 22:20
Date: Thu, 12 May 2005 22:20
15 lines
1408 bytes
1408 bytes
I am having a problem updating the laf of my java program.
I have changed the laf using:
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
which works fine, then I use successive calls to:
SwingUtilities.updateComponentTreeUI();
to update container component laf in my main window.
The problem is, when I call SwingUtilities.updateComponentTreeUI(mainMenu);
it does not update the laf of all of the menu items themselves. Only some of
the menu items take the new laf and some do not????
Anyone have any idea what could be causing this? Or how to fix this?
Technical Details
Message-ID:
<4283d679$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!newshub.sdsu.edu!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 111d45,ed2e335ab3983415,start X-Google-Attributes: gid111d45,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Mike" <manmower@signalmarketing.com> Newsgroups: borland.public.jbuilder.java.swing Subject: UI management Date: Thu, 12 May 2005 17:20:12 -0500 Lines: 17 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2527 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 24.76.6.55 Message-ID: <4283d679$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1115936377 24.76.6.55 (12 May 2005 15:19:37 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!newshub.sdsu.edu!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail