This is the mail archive of the
java-discuss@sourceware.cygnus.com
mailing list for the Java project.
Re: AWT
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
--
- Follow-Ups:
- Re: AWT
- From: Nathan Meyers <nmeyers@teleport.com>
- References:
- license question
- From: Paul Matthew Reilly <paul@pajato.com>
- AWT
- From: Lincoln Spiteri <lincoln.spiteri@st.com>
- Re: AWT
- From: "Thomas Reilly" <treilly@allaire.com>
- Re: AWT
- From: Nathan Meyers <nmeyers@teleport.com>
- Re: AWT
- From: Per Bothner <per@bothner.com>
- Re: AWT
- From: Jeff Sturm <jsturm@sigma6.com>
- Re: AWT
- From: Nathan Meyers <nmeyers@teleport.com>
- Re: AWT
- From: Per Bothner <per@bothner.com>
- Re: AWT
- From: Nathan Meyers <nmeyers@teleport.com>