Article View: borland.public.jbuilder.java.language
Article #8308Re: DESPERATE !!!
From: Carlos Ojea Castro
Date: Thu, 29 Mar 2001 16:49
Date: Thu, 29 Mar 2001 16:49
33 lines
1694 bytes
1694 bytes
Another thing: I use TD after in my paint() method.
I discovered that if I don't use TD any more it works fine.
But I MUST put TD to false after these lines !!. Sigh!
Carlos Ojea Castro 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.
Technical Details
Message-ID:
<3AC3678B.45BAE2D9@rslcom.es>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!skynet.be!newsfeed1.uni2.dk!newssuck.uni2.dk!dnews!213.250.128.151References:
<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-29 09:24:05 PST Message-ID: <3AC3678B.45BAE2D9@rslcom.es> Date: Thu, 29 Mar 2001 18:49:15 +0200 From: Carlos Ojea Castro <ccastro@rslcom.es> X-Mailer: Mozilla 4.74 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: borland.public.jbuilder.java.language Subject: Re: DESPERATE !!! References: <3AC361A6.21A4F47E@rslcom.es> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 213.250.128.151 X-Trace: 29 Mar 2001 08:49:02 -0800, 213.250.128.151 Lines: 34 Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!skynet.be!newsfeed1.uni2.dk!newssuck.uni2.dk!dnews!213.250.128.151