SWT and AWT

chris burdess dog@bluezoo.org
Mon Nov 24 17:38:00 GMT 2003


Stanley Brown wrote:
> A bit of a misunderstanding.  I was talking of using SWT as the parent 
> to AWT.  So a AWT button would be nothing but a thin layer over a SWT 
> button.

as i understand it there are some insurmountable problems required to
implement the awt interface using swt. one of these is the fact that swt
widgets cannot be reparented, and must be constructed in the context of
their parent (presumably "because this is the way windows does it").
this is incompatible with the awt model in which widget containment is
dynamic: widgets can be reparented freely and are not required to have a
parent at any given time.
-- 
chris burdess



More information about the Java mailing list