Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > How to distinguish lightweight and heavyweight component?

Reply
Thread Tools

How to distinguish lightweight and heavyweight component?

 
 
Bruce .J Sam
Guest
Posts: n/a
 
      04-06-2005
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?

 
Reply With Quote
 
 
 
 
Arnaud Berger
Guest
Posts: n/a
 
      04-06-2005
Hi,

more info on this here :

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

Regards,

Arnaud

"Bruce .J Sam" <(E-Mail Removed)> a écrit dans le message news:
(E-Mail Removed). com...
> 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?
>



 
Reply With Quote
 
 
 
 
John McGrath
Guest
Posts: n/a
 
      04-06-2005
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
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
rope class (heavyweight string) castironpi Python 0 09-02-2008 06:33 PM
Steve Jobs Dismisses Java As "Heavyweight" in an Age of LightweightComputing www Java 18 02-22-2007 12:07 AM
heavyweight water color paper in Epson R800 rbavetta@prodigy.net Digital Photography 1 10-09-2005 02:58 AM
Epson Matte Paper Heavyweight-curling/cupping problem photo Digital Photography 8 10-13-2004 05:52 PM
Which protocol/communication method for heavyweight server process Harald Kirsch Java 1 01-08-2004 10:15 AM



Advertisments