Hi Sumaira,

I don't know about jsp pages, but in a few respects I fear your 
answer is not completely correct:
1) Swing relies on AWT, so the JRE has to load not only Swing but 
also (prior to loading Swing) AWT classes. So it will take more time 
to load Swing than to load AWT alone.
2) Technically Swing is no substitute for AWT; many Swing classes 
refer to some base class contained in AWT.

So I guess (experts, please correct me if I'm wrong) that the 
question should not be whether Swing loads faster or AWT; the 
question is whether it makes more sense to use Swing or AWT. As AWT 
is mostly very basic in functionality, I would always use Swing; the 
components are easier to use in real-life GUI applications. And they 
are portable (something that AWT on its own failed to deliver in the 
first two versions of Java).

Regards,
Nico

--- In [EMAIL PROTECTED], sumaira khan <[EMAIL PROTECTED]> 
wrote:
> 
> 
> Hi
> While loading in jsp ,swing is faster bcoz it has light weight 
components while awt is heavy weight
> Ganesh kumar <[EMAIL PROTECTED]> wrote:
> 
> While loading in jsp page, which is faster swing or AWT.
> Can anybody pls?









------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/5cFolB/TM
--------------------------------------------------------------------~-> 

If you have any comments or questions, submit it on the message board.
NO spam/ads/job posting or you will be BANNED from this group. Exception can be 
made it happen by notify me ahead of time.
all new members' message will be verified by me (spam..) before it get posted. 
Yahoo! Groups Links

<*> To reply to this message, go to:
    http://groups.yahoo.com/group/java_official/post?act=reply&messageNum=17929
    Please do not reply to this message via email. More information here:
    http://help.yahoo.com/help/us/groups/messages/messages-23.html

<*> To visit your group on the web, go to:  
    http://groups.yahoo.com/group/java_official/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to