🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: swing components and Look & Feel

#12362
From: Richard Wilkman
Date: Thu, 14 Jan 1999 00:00
67 lines
2771 bytes
Matt:

If javasoft had made L&F an interface that you could implement at will
instead of a whole set of classes that you have to extend and rewrite
just to make one thing change color, it would have been a lot easier
<g>.

-Rich

Matt Krevs wrote:
> 
> FieldControl does not support the Metal L&F. I posted a message on the forum
> some time back and I think that Richard Wilkman confirmed that some jbcl
> controls have problems with some L&Fs. Apparently these problems will be
> rectified in the next release of JBCL.
> 
> Chow Kwan Yu wrote in message <369E3588.4FBD@intellect.com.hk>...
> >hi,
> >I've created a frame inherit from Jframe and added components of those
> >types:
> >
> >JLabel
> >JdbNavToolBar
> >JdbTextField
> >FieldControl (jbcl)
> >1 FieldControl not connecting to any dataset.
> >JdbTable
> >
> >I use Swing 1.0.3 now.
> >
> >Descriptions of my run-time problem with different L&Fs:
> >
> >a) My program runs and looks well when I use Windows L&F.
> >
> >b) When I use Motif L&F, those
> >- JdbNavToolBar components appear well.
> >- both JdbTextField and FieldControl components only show the letters in
> >them, but the white rectangular backgrounds of the corresponding
> >components become transparent  And their border disappear.  They look
> >like labels now.
> >- JdbTable component appears well.
> >
> >c) When I use Metal L&F, those
> >- I only see the frame, in addition to that FieldControl not connecting
> >to any dataset.  All the rest components including JLabel disappear.
> >
> >Are these the problem of L&F classes coding?  Or am I missing some
> >points to use swing components appropriately?
> >
> >Thank you.
> >
> >KY Chow

-- 

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Rich Wilkman
Senior Quality Assurance Engineer
Borland JBuilder Team

If you see something that looks like an opinion up there,
it's mine and mine alone.

Mail sent to me from the newsgroups won't bounce but will
be ignored.  If I have time, I'll respond, but you  have
a better chance if you confine your posts to the newsgroups
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Technical Details
Message-ID: <369E168C.A85A2F40@inprise.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <369E3588.4FBD@intellect.com.hk> <77k0bt$t6917@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,223cced654dec718
X-Google-Attributes: gid111d45,public
From: Richard Wilkman <rwilkman@inprise.com>
Subject: Re: swing components and Look & Feel
Date: 1999/01/14
Message-ID: <369E168C.A85A2F40@inprise.com>
X-Deja-AN: 432579390
Content-Transfer-Encoding: 7bit
References: <369E3588.4FBD@intellect.com.hk> <77k0bt$t6917@forums.borland.com>
Content-Type: text/plain; charset=us-ascii
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing