This is the mail archive of the java-discuss@sourceware.cygnus.com mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: AWT is dead now




Jeff Sturm wrote:

> Cedric Berger wrote:
> > 1) implementing the basic (low level) AWT functionalities.
> > Basically Window/Frame/Component/Container/Canvas and
> > event handling.
> >
> > 2) implementing Java2D (it's probably more difficult than 1),
> > but it can be done later and its probably a lot of fun to do.
>
> Is Java2D required for Swing?

No, but Graphics2D (the Java2D engine) is a superset of the
old Graphics class needed by everyone who want to paint on
a window. So only Graphics is needed for most Swing apps.
but Graphics2D re-implement (not just augment) all Graphics
methods; so if plan to develop Graphics first and Graphics2D
later, I would assumes that most of the work doing Graphics
will be lost.
IMHO, it would be better to start implementing Java2D with
the latest specs (1.3), but starting with the pieces that are really
needed by Swing (bezier curves can be left for later...)

begin:vcard 
n:Berger;Cedric
tel;fax:++1 (650) 574-4476
tel;work:++1 (650) 574-4472
x-mozilla-html:TRUE
org:Wireless Networks Inc
version:2.1
email;internet:cedric@wireless-networks.com
title:Embedded Software Engineer
adr;quoted-printable:;;2322 El Camino Real=0D=0A;San Mateo;CA;94403;USA
fn:Cedric Berger
end:vcard

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]