ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   To Refer this Site to Your Friends   Click Here
Google
 
Categories  >>  Software  >>  Java J2EE  >>  Java Related  >>  Swing
 
 


 

 
 Core Java interview questions  Core Java Interview Questions
 Advanced Java interview questions  Advanced Java Interview Questions
 Swing interview questions  Swing Interview Questions
 EJB interview questions  EJB Interview Questions
 Servlets interview questions  Servlets Interview Questions
 Struts interview questions  Struts Interview Questions
 JDBC interview questions  JDBC Interview Questions
 JMS interview questions  JMS Interview Questions
 SunOne interview questions  SunOne Interview Questions
 J2EE interview questions  J2EE Interview Questions
 Weblogic interview questions  Weblogic Interview Questions
 Websphere interview questions  Websphere Interview Questions
 Java Networking interview questions  Java Networking Interview Questions
 Java J2EE AllOther interview questions  Java J2EE AllOther Interview Questions
Question
what is the diff's between swing and applet?
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: what is the diff's between swing and applet?
Answer
# 1
Swing is a light weight component whereas Applet is a heavy 
weight Component..Applet Does not require main 
method ,instead it needs init method.
 
Is This Answer Correct ?    5 Yes 1 No
Jeena Joy
 
  Re: what is the diff's between swing and applet?
Answer
# 2
Swing is a set of classes under JFC that provide 
lightweight visual component , enable creation of 
attractive GUI. But Applet is heavyweight component and 
needs web browser or tool known as AppletViewer.

Applet have no main method, but swing have.
 
Is This Answer Correct ?    1 Yes 0 No
Bindhu
 
 
 
  Re: what is the diff's between swing and applet?
Answer
# 3
swing is a light wight component.
 
Is This Answer Correct ?    3 Yes 1 No
Manikandan
 
  Re: what is the diff's between swing and applet?
Answer
# 4
Component
Swing :Swing is light weght Component
Applet : Applet is heavy weight Components

Look and feel 
Swing: Using UIManager swing have look and feel according 
to user view u can change look and feel 
Applet: Applet Does not provide this facility 

Compile 
Swing : swing uses for stand lone Applications ,Swing 
have   main method to execute the program
Applet : Applet need HTML code for Run the Applet 

Swing : uses MVC Model view Controller 
Applet : not 

Swing : swing have its own Layout ..like most popular Box 
Layout
Applet : Applet uses Awt Layouts..like flowlayout

Thread 
Swing :Swing have some Thread rules 
Applet :There is no any rule
 
Is This Answer Correct ?    4 Yes 2 No
Sidhu
 
  Re: what is the diff's between swing and applet?
Answer
# 5
Swing : heavy weight
Applet : light weight
 
Is This Answer Correct ?    4 Yes 4 No
Imlepakshi
[K.C College]
 
  Re: what is the diff's between swing and applet?
Answer
# 6
Apple :to execute Applet programe we should need any one 
browser like Appletviewer,web browser.
Because Applet using browser container to run and all 
action control with in browser container

swing :to execute swing no need any browser By which we can 
create stand alone application
But Here we have to add container and maintain all action 
control with in frame container


Applet : we dependent on brower to execute and action


swing : own 

simply Instance problem
 
Is This Answer Correct ?    1 Yes 0 No
Karthik
 
  Re: what is the diff's between swing and applet?
Answer
# 7
applet: the components of applet are from underlying 
operating system .
swing : Swing creates its own component.
 
Is This Answer Correct ?    0 Yes 2 No
Madhavsingh
 

 
 
 
Other Swing Interview Questions
 
  Question Asked @ Answers
 
how to give transparency for JComboBox,JListBox and JTable  1
Name the method, to expand & collapse nodes in a Jtree? Wipro1
Name the borders provided by Swing? Accenture1
What is the use of JTree?  2
How can you draw using Swing components?  1
Explain the differences between an applet and a Japplet?  1
how can u handle runtime exceptions in java plz explain with examples briefly? Fujitsu2
What is meant by Swing?  4
What are the benefits of using Swing over AWT?  1
What is the default look and feel of a Swing Component?  1
What is the corresponding Layout for Card in Swing? Patni2
What is JTable and what is its purpose?  3
what is the diff's between swing and applet? Patni7
How to merging the particular cells in JTable  1
What is the difference between AWT & Swing? Deshaw6
can we create a object in static block class A { static { A a=new A(); } }  2
what is difference between checked and unchecked exception plz explain examples ? Fujitsu2
What are all the components used in Swing?  1
What are tab pans?  2
what are the root classes of all classes?  4
 
For more Swing Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com