Article View: borland.public.jbuilder.java.language
Article #8307DESPERATE !!!
From: Carlos Ojea Castro
Date: Thu, 29 Mar 2001 16:24
Date: Thu, 29 Mar 2001 16:24
27 lines
1524 bytes
1524 bytes
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:
<3AC361A6.21A4F47E@rslcom.es>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!news-out.usenetserver.com!news-out-sjo.usenetserver.com!newsfeed.direct.ca!look.ca!newsfeed.icl.net!newsfeed00.sul.t-online.de!t-online.de!skynet.be!newsfeed1.uni2.dk!newssuck.uni2.dk!dnews!213.250.128.151Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,e3fc9de084362442,start X-Google-Attributes: gidf74b3,public X-Google-ArrivalTime: 2001-03-29 08:36:09 PST Message-ID: <3AC361A6.21A4F47E@rslcom.es> Date: Thu, 29 Mar 2001 18:24:06 +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: DESPERATE !!! Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 213.250.128.151 X-Trace: 29 Mar 2001 08:23:57 -0800, 213.250.128.151 Lines: 31 Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!news-out.usenetserver.com!news-out-sjo.usenetserver.com!newsfeed.direct.ca!look.ca!newsfeed.icl.net!newsfeed00.sul.t-online.de!t-online.de!skynet.be!newsfeed1.uni2.dk!newssuck.uni2.dk!dnews!213.250.128.151