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                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
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 ?    28 Yes 4 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 ?    20 Yes 1 No
Bindhu
 
 
 
  Re: what is the diff's between swing and applet?
Answer
# 3
swing is a light wight component.
 
Is This Answer Correct ?    13 Yes 5 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 ?    25 Yes 4 No
Sidhu
 
  Re: what is the diff's between swing and applet?
Answer
# 5
Swing : heavy weight
Applet : light weight
 
Is This Answer Correct ?    13 Yes 26 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 ?    13 Yes 1 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 ?    4 Yes 9 No
Madhavsingh
 
  Re: what is the diff's between swing and applet?
Answer
# 8
swing:all classes start with J letter
applet:not

swing:componants added on container
applet:no componants addedon container

swing:u can provide tooltiptext to every componants using 
metod setToolTipText();
applet:not
 
Is This Answer Correct ?    6 Yes 1 No
Rani
 
  Re: what is the diff's between swing and applet?
Answer
# 9
Swing is lightweigt process and run through main() method 
in case of browser

Applet is heavyweight process and run within only browser 
or with the help of browser
 
Is This Answer Correct ?    2 Yes 1 No
Vidya Deshmukh
 

 
 
 
Other Swing Interview Questions
 
  Question Asked @ Answers
 
what do u mean by GUI framework  1
How to merging the particular cells in JTable  1
What is the default look and feel of a Swing Component?  2
how to give transparency for JComboBox,JListBox and JTable TCS1
Name the method, to expand & collapse nodes in a Jtree? Wipro1
What is the difference between AWT and Swing ? TCS1
what are the root classes of all classes?  4
Explain the differences between an applet and a Japplet? Satyam1
when we right click on the JTable using mouse it works properly but how to right click on JTable in java using keyboard what should be the code for the same.....? Thanks Nitin  1
What is the corresponding Layout for Card in Swing? Patni2
What are all the components used in Swing?  1
What are the benefits of using Swing over AWT?  1
what do u mean by GUI framework  1
What is the base class for all of swing components?  3
What are the features of JFC?  1
Default layout for a ContentPane in JFC? HCL4
how can u handle runtime exceptions in java plz explain with examples briefly? Fujitsu2
What is JTable and what is its purpose?  3
When i m clicking on next another frame is open but i want to hide the previous frame...........but it is not happening....still both frame are visible........how to make one frame to hide.......please help me.......  2
What is meant by Swing?  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