Article View: borland.public.jbuilder.java.swing
Article #7712Re: JTable Questions
From: Torsten Welches
Date: Thu, 04 Jan 2001 18:17
Date: Thu, 04 Jan 2001 18:17
17 lines
1414 bytes
1414 bytes
James, you use a JLabel as a Renderer and JLabels are non-opaque by default. Try setOpaque(true); and you should see the background color. Good luck, Torsten James A. Schulz schrieb in Nachricht <932b7l$peb7@bornews.inprise.com>... >Niall, > >I have the same problem you did: the foreground color changes, but the >background color does not. Any ideas? > >James > >
Technical Details
Message-ID:
<3a54beed_1@dnews>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!isdnet!fr.clara.net!heighliner.fr.clara.net!news.imp.ch!news-zh.switch.ch!newsfeed-zh.ip-plus.net!news.ip-plus.net!bornews.borland.com!dnews!194.8.195.108References:
<92lbpr$6ro1@bornews.inprise.com> <MPG.14b89345ccc5b0c7989e08@forums.borland.com> <92nedq$66a1@bornews.inprise.com> <MPG.14bb192872e51878989e12@forums.borland.com> <3a5376e4_2@dnews> <932b7l$peb7@bornews.inprise.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,7fa15b59fdc30449 X-Google-Attributes: gid111d45,public X-Google-ArrivalTime: 2001-01-04 10:31:34 PST From: "Torsten Welches" <torsten.welches@who.cares.netcologne.de> Newsgroups: borland.public.jbuilder.java.swing References: <92lbpr$6ro1@bornews.inprise.com> <MPG.14b89345ccc5b0c7989e08@forums.borland.com> <92nedq$66a1@bornews.inprise.com> <MPG.14bb192872e51878989e12@forums.borland.com> <3a5376e4_2@dnews> <932b7l$peb7@bornews.inprise.com> Subject: Re: JTable Questions Date: Thu, 4 Jan 2001 19:17:57 +0100 Lines: 19 X-Newsreader: Microsoft Outlook Express 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 NNTP-Posting-Host: 194.8.195.108 Message-ID: <3a54beed_1@dnews> X-Trace: 4 Jan 2001 10:20:29 -0800, 194.8.195.108 Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!isdnet!fr.clara.net!heighliner.fr.clara.net!news.imp.ch!news-zh.switch.ch!newsfeed-zh.ip-plus.net!news.ip-plus.net!bornews.borland.com!dnews!194.8.195.108