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 Carolyn!


> From: Carolyn_MacLeod@xxxxxxx 
> Date: Sun, 21 Apr 2002 20:55:26 -0400 
> Delivered-to: platform-swt-dev@xxxxxxxxxxx 
>
>       Swing widgets are "lightweight", which means that they are drawn 
>        by the widget toolkit when they need to be displayed. They can be 
>        created without a parent and passed around, etc., but they don't 
>        need to have a platform handle until the moment when they are
drawn. 
>
>        SWT widgets are real platform widgets. Each widget has a platform 
>        handle from the moment it is created, which means it needs a
parent. 
>        Most platforms do not support creating a widget without specifying 
>        its parent. Perhaps it is better explained in this SWT FAQ entry: 

AWT widgets are "heavyweight" like SWT ones but still they don't need a
parent argument in their constructor! I can't believe that an OS needs a parent
reference for creating a widget. Which OS needs this? How is AWT able to do it
without?


Thank you for your answers,
Dr. Seltsam

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



Back to the top