🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Changing LnF dynamically creates componets size changes abnormally

#1830
From: Kostas
Date: Tue, 05 Aug 2003 15:15
18 lines
1846 bytes
I used GridBagLayout and not XYLayout. Even with GridBagLayout some
componets size especially labels and buttons change abnormally. For instance
the fonts of the window LnF is smaller than Metal or Motif Lnf. When i
change the lnf from window to metal the text becomes bigger and some parts
of the text are unvisible. Even with the pack method the problem stay
unresolved.

� "Kostas" <karadamoglou_k@yahoo.gr> ������ ��� ������
news:3f2edb0b@newsgroups.borland.com...
> Hi all,
> When i change dynamically the Look and Feel of my application some
componets
> size changes abnormally (the edges of a label or a button are unvisible).
> How can i avoid this behaviour?. I call the pack method for all the frames
> after the LnF change but the problem remains. Any ideas ?
> Thanks for advance, kostas.
>
>
Technical Details
Message-ID: <3f2fca06@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-01!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <3f2edb0b@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 111d45,1b29af41f8a52ee4
X-Google-Attributes: gid111d45,public
X-Google-ArrivalTime: 2003-08-05 08:26:15 PST
Reply-To: "Kostas" <karadamoglou_k@yahoo.gr>
From: "Kostas" <karadamoglou_k@yahoo.gr>
Newsgroups: borland.public.jbuilder.java.swing
References: <3f2edb0b@newsgroups.borland.com>
Subject: Re: Changing LnF dynamically creates componets size changes abnormally
Date: Tue, 5 Aug 2003 18:15:18 +0300
Lines: 20
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2720.3000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Host: 62.1.5.238
Message-ID: <3f2fca06@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1060096518 62.1.5.238 (5 Aug 2003 08:15:18 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-01!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail