GFX impl on top of Swing

Sandip <[email protected]> Sun, 16 Dec 2007 15:37:10 -0800 (PST)
Newsgroups gmane.comp.mozilla.devel.java
Organization http://groups.google.com
Message-ID <be110d69-259b-4b84-a54c-ef98ef5eb6ab__10271.760976366$1197848469$gmane$org@e10g2000prf.googlegroups.com>
I was reading the following in the embedding FAQ:

---
 What widget toolkit does Mozilla use?

Mozilla makes its own cross-platform widgets for HTML forms, and does
not use a 3rd-party cross platform toolkit, nor the native widgets
that a platform provides. The widgets are drawn using GFX, Mozilla's
abstraction of a drawing toolkit. They are styled with CSS, including
minor per-platform tweaks to allow them to look like the native
platform's native widgets. This allows full CSS and DOM support of all
HTML widgets across all platforms, without requiring each platform to
separately support every part of CSS and DOM.

There have been a number of requests for native widget support but at
this time there are no plans to support a second widget set beyond the
cross-platform widgets.

In the future, widgets may be defined with XBL.
---

Has anyone looked into implementing "GFX, Mozilla's abstraction of a
drawing toolkit." using the Swing+Java2D APIs? This may solve the
issue of heavyweight/lighweight embedding in Swing applications. This
idea is in someway similiar to the SWTSwing project which implements
SWT on top of Swing+Java2d.

thanks,
Sandip