How to distinguish lightweight and heavyweight component?

Discussion in 'Java' started by Bruce .J Sam, Apr 6, 2005.

  1. Bruce .J Sam

    Bruce .J Sam Guest

    Does component that extends from java.awt.Component or
    java.awt.Container is a lightweight component, otherwise, it's a
    heavyweight component?If the lightweight and heavyweight component are
    not distinguished by this way, how to know the component is lightweight
    or heavyweight?
    Bruce .J Sam, Apr 6, 2005
    #1
    1. Advertising

  2. Hi,

    more info on this here :

    http://java.sun.com/products/jfc/tsc/articles/mixing/

    Regards,

    Arnaud

    "Bruce .J Sam" <> a écrit dans le message news:
    ...
    > Does component that extends from java.awt.Component or
    > java.awt.Container is a lightweight component, otherwise, it's a
    > heavyweight component?If the lightweight and heavyweight component are
    > not distinguished by this way, how to know the component is lightweight
    > or heavyweight?
    >
    Arnaud Berger, Apr 6, 2005
    #2
    1. Advertising

  3. Bruce .J Sam

    John McGrath Guest

    On 4/6/2005 at 1:21:42 AM, Bruce .J Sam wrote:

    > how to know the component is lightweight or heavyweight?


    component.isLightweight()

    --
    Regards,

    John McGrath
    John McGrath, Apr 6, 2005
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Harald Kirsch
    Replies:
    1
    Views:
    344
    Michael Borgwardt
    Jan 8, 2004
  2. Bruce Sam
    Replies:
    1
    Views:
    351
    =?UTF-8?b?TMSByrtpZSBUZWNoaWU=?=
    Dec 17, 2004
  3. www
    Replies:
    18
    Views:
    734
    =?ISO-8859-1?Q?Arne_Vajh=F8j?=
    Feb 22, 2007
  4. castironpi

    rope class (heavyweight string)

    castironpi, Sep 2, 2008, in forum: Python
    Replies:
    0
    Views:
    305
    castironpi
    Sep 2, 2008
  5. bilawal samoon
    Replies:
    0
    Views:
    290
    bilawal samoon
    Sep 26, 2009
Loading...

Share This Page