Article View: borland.public.jbuilder.java.swing
Article #8143Re: simple drawing possible?
From: Chris Denham
Date: Tue, 17 Oct 2000 00:00
Date: Tue, 17 Oct 2000 00:00
14 lines
893 bytes
893 bytes
Just override the paint function e.g.
void paint(Graphics g)
{
g.drawLine(0, 0, 100, 100);
g.drawOval(0, 0, 100, 100);
}
Chris Denham
"Lu dong" <lufeiyu@hotmail.com> wrote in message news:39eb0975_2@dnews...
> Can I draw the simple graphics such as lines, rectangle, circles, and so
on
> on the Form?
>
>
Technical Details
Message-ID:
<39ec3673$1_2@dnews>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<39eb0975_2@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,ad59ccb8d8db0b95 X-Google-Attributes: gid111d45,public From: "Chris Denham" <c.m.denham@open.ac.uk> Subject: Re: simple drawing possible? Date: 2000/10/17 Message-ID: <39ec3673$1_2@dnews> X-Deja-AN: 682426877 References: <39eb0975_2@dnews> X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Trace: 17 Oct 2000 04:22:27 -0800, 137.108.41.217 X-MSMail-Priority: Normal Reply-To: "Chris Denham" <c.m.denham@open.ac.uk> Newsgroups: borland.public.jbuilder.java.swing