Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] Some questions for the SWT developers

addNotify / removeNotify are messages sent to AWT Components (and thus Swing
Components) to indicate when the o/s resource for the component is actually
created/destroyed.  SWT doesn't need this, because it's Widgets are created
in the constructor, and destroyed in dispose().  You know when you're
calling the constructor, and there is a proper event for disposal so that
you don't have to override a widget to get this info.

In theory, AWT provides a more flexible architecture, where you can change
the parent of a widget whenever you want.  In practice, this is almost never
used, it greatly complicates the actual implementation of the code (the AWT
code).

Patrick Mueller
pmuellr@xxxxxxx

----- Original Message -----
From: <dr_seltsam@xxxxxx>
To: <platform-swt-dev@xxxxxxxxxxx>
Sent: Friday, April 19, 2002 6:16 PM
Subject: [platform-swt-dev] Some questions for the SWT developers


> Hello!
>
>
> I'm evaluating SWT for our company and have a few questions regarding to
it:
>
> 1) There is no support for true MDI like with Swings JInternalFrame. Will
it
> stay this way or is this maybe planned for a later version? If this is not
> planned, then why? Too difficult to implement on non-Windows platforms
and/or
> too time consuming? (And _please_, don't tell me to use tabs or something
> similar limited, since this is no replacement for MDI.)
>
> 2) What is the relation between SWT and JFace? Eclipse seems to use JFace
> intensively (Or am I wrong?), so will SWT be supported/developed in the
future?
>
> 3) Why is the parent property in SWT widgets implemented in such an
(sorry)
> odd way by using an argument in the constructor methods, like in e.g.
> text(Composite parent, int style)? This prevents using them as beans and
with visual
> tools, I think. Why is it not implemented like in Swing where the parent
> property is set when the widget gets added to its parent?
>
> 4) Why is there no addNotify method for the SWT widgets? (I'm using it to
> extend the Swing widgets with necessary extensions.)
>
> I hope you could answer some of these questions since I'm trying to decide
> wether or not we will be able to switch our framework from Swing to SWT.
>
>
> Many thanks in advance,
> Dr. Seltsam
>
> --
> GMX - Die Kommunikationsplattform im Internet.
> http://www.gmx.net
>
> _______________________________________________
> platform-swt-dev mailing list
> platform-swt-dev@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/platform-swt-dev
>




Back to the top