Skip to main content

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

Hello Scott!


>From: Scott Stanchfield <scott@xxxxxxxxxxxx>
>Date: Mon, 22 Apr 2002 00:42:55 -0400
>Delivered-to: platform-swt-dev@xxxxxxxxxxx
>Importance: Normal
>
>addNotify() is used by AWT to create its peer components. It is always
called by AWT
>(or by an application) to "realize" the widget. Because SWT creates the
native "peer"
>during construction, an addNotify-like method isn't necessary.
>
>To extend in a similar manner, you would need to add code to the
constructor of your
>subclass, or override other methods that perform the functions you need.

Well, this means if I want to port a program from Swing to SWT, I will have
to rewrite every inherited widget and every "new" call of such widgets. :-(


Thanks for the answer,
Dr. Seltsam

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net



Back to the top