This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: SWT and AWT
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