🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: DESPERATE !!!

#8318
From: Leonard Lehew
Date: Fri, 30 Mar 2001 12:16
35 lines
1902 bytes
On Thu, 29 Mar 2001 18:24:06 +0200, Carlos Ojea Castro
<ccastro@rslcom.es> wrote:

>
>Hello :
>
>I don't understand anything !!.
>This peace of code in my paint() method draws a gif and
>a black rectangle :
>
>   TableroGif = getImage(getCodeBase(), "Tablero.gif");
>   Tablero_Buffer.drawImage (TableroGif, 0, 0, this);
>   Tablero_Buffer.fillRect(0,0,32,42);
>
>But this other code only draws the black rectangle, and
>not the image !!!! :
>
>if (TD)
>{
>   TableroGif = getImage(getCodeBase(), "Tablero.gif");
>   Tablero_Buffer.drawImage (TableroGif, 0, 0, this);
>   Tablero_Buffer.fillRect(0,0,32,42);
>}
>
>Of course TD is true. TD is a class variable.
>
>IT IS CRAZY !!!
>HELP !!
>
>Thanks, Carlos Ojea.
>
>
>
Have you tried filling the rectangle first? I'd guess the image is
getting "covered up" by the fillRect.
Technical Details
Message-ID: <ngt8ctc5jlvr3pu49dias61rnr50ak4k8a@4ax.com>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!128.230.129.106!news.maxwell.syr.edu!news.stealth.net!news-east.rr.com!news.rr.com!cyclone.southeast.rr.com!typhoon.southeast.rr.com.POSTED!not-for-mail
References: <3AC361A6.21A4F47E@rslcom.es>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,e3fc9de084362442
X-Google-Attributes: gidf74b3,public
X-Google-ArrivalTime: 2001-03-30 04:32:53 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!128.230.129.106!news.maxwell.syr.edu!news.stealth.net!news-east.rr.com!news.rr.com!cyclone.southeast.rr.com!typhoon.southeast.rr.com.POSTED!not-for-mail
From: Leonard Lehew <leonard-lehew@nc.rr.EXTRA.JUNK.com>
Newsgroups: borland.public.jbuilder.java.language
Subject: Re: DESPERATE !!!
Message-ID: <ngt8ctc5jlvr3pu49dias61rnr50ak4k8a@4ax.com>
References: <3AC361A6.21A4F47E@rslcom.es>
X-Newsreader: Forte Agent 1.8/32.548
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 35
Date: Fri, 30 Mar 2001 12:16:20 GMT
NNTP-Posting-Host: 24.88.252.228
X-Complaints-To: abuse@rr.com
X-Trace: typhoon.southeast.rr.com 985954580 24.88.252.228 (Fri, 30 Mar 2001 07:16:20 EST)
NNTP-Posting-Date: Fri, 30 Mar 2001 07:16:20 EST
Organization: Road Runner - NC