🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Thanks

#10154
From: Ronen
Date: Thu, 11 Nov 1999 00:00
34 lines
1890 bytes
Its working thanks.

Johan Forsberg <jfo@SPAM_SPAM_EGGS_SPAMstmf.se> wrote in message
news:80e1o2$scg9@forums.borland.com...
>
> Ronen <ronenm@netvision.net.il> skrev i
> diskussionsgruppsmeddelandet:80cntt$k3a6@forums.borland.com...
> > Your solution seem to be what I looked for, but its still doesn't work
for
> > me
> > I tried exactly what you have suggested except that I'm doing an
> application
> > and not an applet.
> > I still have the gray and purple colors of the default Metal Theme.
> > I extended the DefaultMetalTheme instead of MetalTheme class (because
its
> > abstract and some methods need to be implemented)
> > Any other suggestions or clarifications for this solution?
>
> Hmmm.... How did you manage to extend DefaultMetalTheme??
> All the colors/fonts are declared 'private final'.
>
> That was the whole reason I extended MetalTheme instead... I just made a
> copy of DefaultMetalTheme,
> renamed it MyMetalTheme and changed the colors to 'public' so I could
change
> them dynamically.
> It works great over here, as long as you remember to call
> UIManager.setLookAndFeel(UIManager.getLookAndFeel())
> and then
> updateComponentTreeUI()
> for every frame in the program whenever you make changes in the theme.
>
>
Technical Details
Message-ID: <80f2bh$9l53@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <8098vf$j5511@forums.borland.com> <80bdhh$6sl5@forums.borland.com> <80cntt$k3a6@forums.borland.com> <80e1o2$scg9@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,8535edc2c8bfaefe
X-Google-Attributes: gid111d45,public
From: "Ronen" <ronenm@netvision.net.il>
Subject: Thanks
Date: 1999/11/11
Message-ID: <80f2bh$9l53@forums.borland.com>
X-Deja-AN: 547422748
References: <8098vf$j5511@forums.borland.com> <80bdhh$6sl5@forums.borland.com> <80cntt$k3a6@forums.borland.com> <80e1o2$scg9@forums.borland.com>
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Organization: Another Netscape Collabra Server User
X-MSMail-Priority: Normal
Newsgroups: borland.public.jbuilder.java.swing