Article View: borland.public.jbuilder.java.swing
Article #11563Re: JTable cell formatting
From: Christian Kaufhold
Date: Wed, 05 May 1999 00:00
Date: Wed, 05 May 1999 00:00
16 lines
1375 bytes
1375 bytes
Mike Wolterink <m.wolterink@nedap.nl> wrote: > it works fine, except for the selectionbar ! ;-) > when I select this row, this double column (new renderer) doesn't show the > selectionbar. > I tried to set the colors, but it doesn't work ?! (the renderer inherits > from JLabel) > I read the background of JLabel cannot be set other than white; > so I have to paint it myself !? A JLabel will only draw its background if you call setOpaque(true); Maybe that is your problem. clj.programmer removed from followups Christian
Technical Details
Message-ID:
<cmtpg7.s51.ln@nandus.uni-bremen.de>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<7gmp1e$opi$1@news.worldonline.nl> <t61ng7.uf.ln@nandus.uni-bremen.de> <7goq3d$mgb$1@news.worldonline.nl>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,61d4beeaae1dc2c3 X-Google-Attributes: gid111d45,public X-Google-Thread: 10a146,61d4beeaae1dc2c3 X-Google-Attributes: gid10a146,public X-Google-Thread: 10fd6d,61d4beeaae1dc2c3 X-Google-Attributes: gid10fd6d,public From: Christian Kaufhold <chka@uni-bremen.de> Subject: Re: JTable cell formatting Date: 1999/05/05 Message-ID: <cmtpg7.s51.ln@nandus.uni-bremen.de> X-Deja-AN: 474413579 References: <7gmp1e$opi$1@news.worldonline.nl> <t61ng7.uf.ln@nandus.uni-bremen.de> <7goq3d$mgb$1@news.worldonline.nl> Organization: Uni Bremen, ZfN Followup-To: borland.public.jbuilder.java.swing,comp.lang.java.gui User-Agent: tin/pre-1.4-980618 (UNIX) (Linux/2.0.36 (i586)) Newsgroups: borland.public.jbuilder.java.swing,comp.lang.java.gui,comp.lang.java.programmer