AWT
Mark Klein
mklein@dis.com
Wed Aug 4 17:11:00 GMT 1999
At 11:43 PM 8/4/99 +0000, Nathan Meyers wrote:
>Per Bothner wrote:
>> The defining property of heavyweight/lightweight is whether there
>> is a Peer associated with the component. Period. Whether there
>> is an X window associated with the Peer is an implementation
>> issue.
>
>I've been looking for weeks for something in writing that says exactly
>this, and it's been awfully hard to come by. Can you point me to
>something from Sun that says this? I've seen the words "lightweight" and
>"peerless" used in the same sentence, but I've never seen anything that
>looks like a definition until I read your "Period". Quite the opposite,
Try this:
"A heavyweight component is one that is associated with its own native
screen resource (commonly known as a peer). A lightweight component
is one that "borrows" the screen resource of an ancestor (which means
it has no native resource of its own -- so it's "lighter")."
http://java.sun.com/products/jfc/tsc/archive/tech_topics_arch/mixing/mixing .
html#
--
Mark Klein DIS International, Ltd.
http://www.dis.com 415-892-8400
PGP Public Key Available
--
More information about the Java
mailing list