🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #17726

Re: Simpel Color(int,int,int) problem

#17726
From: Ernest Schloesser
Date: Tue, 06 Oct 1998 00:00
34 lines
1406 bytes
That was it ! Thanks.

Ernest

Col Bell schrieb in Nachricht <6vcvj3$imq9@forums.borland.com>...
>I think you mean:
>
>    bgColor = new Color(bgred,bggreen,bgblue);
>
>
>Ernest Schloesser wrote in message <6vcr93$imo7@forums.borland.com>...
>>This code give a compiler error: Method Color(int,int,int) not found
>>
>>    int bgred,bggreen,bgblue;
>>    bgred=bggreen=bgblue=0;
>>    param=getParameter("bgred");   if (param!=null) bgred=
>>Integer.valueOf(param,16).intValue();
>>    param=getParameter("bggreen"); if (param!=null)
>>bggreen=Integer.valueOf(param,16).intValue();
>>    param=getParameter("bgblue");  if (param!=null) bgblue=
>>Integer.valueOf(param,16).intValue();
>>    bgColor=Color(bgred,bggreen,bgblue);
>>
>>I did include:
>>   import java.awt.*;
>>
>>What is wrong ? I'm stunned.
>>
>>Ernest
>>
>>
>>
>
>
Technical Details
Message-ID: <6vd1j2$imp14@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <6vcr93$imo7@forums.borland.com> <6vcvj3$imq9@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,bc11f7a209416892
X-Google-Attributes: gidf74b3,public
From: "Ernest Schloesser" <e.schloesser@bcl.de>
Subject: Re: Simpel Color(int,int,int) problem
Date: 1998/10/06
Message-ID: <6vd1j2$imp14@forums.borland.com>
X-Deja-AN: 398242113
References: <6vcr93$imo7@forums.borland.com> <6vcvj3$imq9@forums.borland.com>
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4
Organization: Another Netscape Collabra Server User
Newsgroups: borland.public.jbuilder.java.language