Article View: borland.public.jbuilder.java.swing
Article #907Re: JButton appears black
From: dar7yl
Date: Sun, 21 Nov 2004 02:58
Date: Sun, 21 Nov 2004 02:58
46 lines
2720 bytes
2720 bytes
could it be that one or more of the components has the Opaque property set
incorrectly?
regards,
Dar7yl
"Lori M Olson [TeamB]" <javadragon@techie.com> wrote in message
news:4174050a$1@newsgroups.borland.com...
> Katerina K. wrote:
>
>> A friend suggested setting the background color specifically, since he
>> had the same problem with Delphi and the default color of buttons. That
>> worked just fine. The funny thing is, that if I set for example the
>> Background color to black, I do not see the button black when I run the
>> application, except for one and only PC (out of 4 that I have tested it
>> on) where it actually appears black. My PC seems to ignore it (the button
>> appears with its default color and not black).
>>
>> Thank you for your time,
>> Katerina
>>
>
> This is probably yet another of the many manifestations of video card
> driver issues that seem to crop up from time to time in Java. That one PC
> where it shows up as black probably has a different video card from the
> other PC's you tested.
>
> --
>
> Regards,
>
> Lori Olson [TeamB]
>
> ------------
>
> Save yourself, and everyone else, some time and search the
> newsgroups and the FAQ-O-Matic before posting your next
> question.
>
> Google Advanced Newsgroup Search
> http://www.google.ca/advanced_group_search
> Other Newsgroup Searches:
> http://www.borland.com/newsgroups/ngsearch.html
> Joi Ellis's FAQ-O-Matic:
> http://www.visi.com/~gyles19/fom-serve/cache/1.html
>
Technical Details
Message-ID:
<41a00453$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed.bit.nl!newsfeed.bit.nl!news.cambrium.nl!news.zanker.org!dedekind.zen.co.uk!zen.net.uk!demorgan.zen.co.uk!194.72.9.35.MISMATCH!news-peer1!btnet-feed3!news-peer0-test!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<416ba297@newsgroups.borland.com> <416e2d78@newsgroups.borland.com> <41738670$1@newsgroups.borland.com> <4174050a$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 111d45,39c1e26c032cb2f1 X-Google-Attributes: gid111d45,public X-Google-Language: ENGLISH,ASCII-7-bit From: "dar7yl" <no@reply.org> Newsgroups: borland.public.jbuilder.java.swing References: <416ba297@newsgroups.borland.com> <416e2d78@newsgroups.borland.com> <41738670$1@newsgroups.borland.com> <4174050a$1@newsgroups.borland.com> Subject: Re: JButton appears black Date: Sat, 20 Nov 2004 18:58:50 -0800 Lines: 48 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Response NNTP-Posting-Host: 207.6.189.203 Message-ID: <41a00453$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1101005907 207.6.189.203 (20 Nov 2004 18:58:27 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed.bit.nl!newsfeed.bit.nl!news.cambrium.nl!news.zanker.org!dedekind.zen.co.uk!zen.net.uk!demorgan.zen.co.uk!194.72.9.35.MISMATCH!news-peer1!btnet-feed3!news-peer0-test!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail