AWT is dead now

Jeff Sturm jsturm@sigma6.com
Tue Mar 21 09:47:00 GMT 2000


Cedric Berger wrote:
> > 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.

OK.  It's becoming clear (to me) that there are folks who want to do
quite fancy graphics stuff in Java, maybe even game programming.

Not everybody is in that crowd (our requirements are fairly primitive
and easily met by java.awt).  Those who want a free Java2D may be stuck
implementing it themselves, since I kinda doubt its a high priority for
libgcj or classpath.

That said, the libart stuff that Per mentioned looks like it could be a
great starting point.  I wonder how much of Java2D could be implemented
by libart directly.

> 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...)
  ^^^^^^^^^^^^^^^
Umm... you just said Swing doesn't require Java2D...

-- 
Jeff Sturm
jsturm@sigma6.com


More information about the Java mailing list