🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Paint on a jPlane

#8584
From: Nabin Thomas
Date: Fri, 09 Mar 2001 16:44
41 lines
2179 bytes
This is a multi-part message in MIME format.
--------------EEBCD61931178DC22950E410
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

JPanel p=new JPanel();
p.getGraphics().drawRect(left,top,width,height);

You could use any other Component to draw instead of the JPanel.

Ferdi Faurie wrote:

> Hi
>
> I'm Ferdi from South Africa just started with java and Jbuilder 4. My first
> project is to write a Tetris game. My first opstical is to paint a Rect.
> onto my Plane. I know I have to use a Canvas but what i don't know is how to
> link the Canvas to the Plane. Can someone help me with this
>
> Thanks
> Ferdi

--------------EEBCD61931178DC22950E410
Content-Type: text/x-vcard; charset=us-ascii;
 name="viewmycard.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Nabin Thomas
Content-Disposition: attachment;
 filename="viewmycard.vcf"

begin:vcard 
n:Thomas;Nabin
x-mozilla-html:TRUE
adr:;;;;;;
version:2.1
email;internet:DONOTSPAMME.nabinthomas@REMOVETHIShotmail.comANDTHISTOO
note;quoted-printable:REMOVE the Capitalised letters in my email ID given in this card=0D=0A=0D=0APlease remember to avoid spam.=0D=0A=0D=0A
fn:Nabin Thomas
end:vcard

--------------EEBCD61931178DC22950E410--
Technical Details
Message-ID: <3AA90888.AA9AF4B9@foremail.nospamplease>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!newsfeed.icl.net!newsfeed.icl.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!bornews.borland.com!not-for-mail
References: <3aa4c02f_2@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,e7658d1bdfd43d6e
X-Google-Attributes: gidf74b3,public
X-Google-ArrivalTime: 2001-03-09 09:16:04 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!newsfeed.icl.net!newsfeed.icl.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!bornews.borland.com!not-for-mail
From: Nabin Thomas <viewmycard@foremail.nospamplease>
Newsgroups: borland.public.jbuilder.java.language
Subject: Re: Paint on a jPlane
Date: Fri, 09 Mar 2001 22:14:56 +0530
Organization: Another Netscape Collabra Server User
Lines: 44
Message-ID: <3AA90888.AA9AF4B9@foremail.nospamplease>
References: <3aa4c02f_2@dnews>
NNTP-Posting-Host: 202.86.153.220
Mime-Version: 1.0
Content-Type: multipart/mixed;
 boundary="------------EEBCD61931178DC22950E410"
X-Mailer: Mozilla 4.76 [en] (Win98; U)
X-Accept-Language: en