🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: JButton appears black

#863
From: Katerina K.
Date: Mon, 18 Oct 2004 09:01
38 lines
2555 bytes
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


"John McGrath [TeamB]" <ng-b@JPMcGrath.net> wrote in message 
news:416e2d78@newsgroups.borland.com...
> On 10/12/2004 at 5:23:34 AM, Katerina K. wrote:
>
>> I have created an application with JBuilder X Enterprise edition, which
>> uses the JDK 1.4 (java version 1.4.2_01-b06). Through the JBuilder I
>> created an .exe file. When I run that file from another PC, on which I
>> have installed the J2SE Runtime Environment 5.0, the JButton which
>> appears on the first screen appears totally black (no text or nothing).
>> In the following screens, where there are also JButtons, they appear
>> normally.  Any idea why this is happening?
>
> I presume there must be something about the code for the first screen that
> triggers an incompatibility between Java 1.4.2 and Java 5.0.
>
> Have you tried to narrow down the problem so that you can post a test 
> case?
>
> -- 
> Regards,
>
> John McGrath [TeamB]
>
> ---------------------------------------------------
> Before sending me e-mail, please read:
>    http://www.JPMcGrath.net/newsgroups/e-mail.html 
Technical Details
Message-ID: <41738670$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!proxad.net!newsfeed.icl.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <416ba297@newsgroups.borland.com> <416e2d78@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: "Katerina K." <scorpio_gemini@hotmail.com>
Newsgroups: borland.public.jbuilder.java.swing
References: <416ba297@newsgroups.borland.com> <416e2d78@newsgroups.borland.com>
Subject: Re: JButton appears black
Date: Mon, 18 Oct 2004 11:01:35 +0200
Lines: 40
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
NNTP-Posting-Host: 129.132.68.93
Message-ID: <41738670$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1098090096 129.132.68.93 (18 Oct 2004 02:01:36 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!proxad.net!newsfeed.icl.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail