Article View: borland.public.jbuilder.java.swing
Article #12355swing components and Look & Feel
From: Chow Kwan Yu
Date: Thu, 14 Jan 1999 00:00
Date: Thu, 14 Jan 1999 00:00
35 lines
1521 bytes
1521 bytes
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
Technical Details
Message-ID:
<369E3588.4FBD@intellect.com.hk>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,223cced654dec718,start X-Google-Attributes: gid111d45,public From: Chow Kwan Yu <bee@intellect.com.hk> Subject: swing components and Look & Feel Date: 1999/01/14 Message-ID: <369E3588.4FBD@intellect.com.hk> X-Deja-AN: 432380795 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii Organization: Intellect Technology Mime-Version: 1.0 Reply-To: bee@intellect.com.hk Newsgroups: borland.public.jbuilder.java.swing