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  >>  Core Java  >>  Java J2EE  >>  Java Related
 
 


 

 
 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 difference between panel and frame ?
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What is the difference between panel and frame ?
Answer
# 1
Frame : A resizable, movable window with title bar and 
close button. Usually it contains Panels. 
It is Derived From Window. Default layout is BorderLayout.

Panel : A region internal to a Frame or another Panel. Used 
for grouping components together. Not bounded by a visible 
border. You can change background colour of a panel to 
delimit it though. Lives inside some enclosing Container.
It is Derived From  Container. Default layout is FlowLayout.
 
Is This Answer Correct ?    23 Yes 3 No
Sathya
 
  Re: What is the difference between panel and frame ?
Answer
# 2
one basic diffrence between both is that--
  frame-is a top level container..
  while the panel is sub-level container..not the top level
  container..
 
Is This Answer Correct ?    13 Yes 1 No
Arvind Chandel
 
 
 
  Re: What is the difference between panel and frame ?
Answer
# 3
A Frame is an independent object which can exist on its 
own. It can contain one or more Panel object within it. 
Whereas a Panel can not exist on its own. It need a parent 
object like Frame/Window to be displayed/existance.

Most of the characteristics are similar in them since their 
super parent is Component & Container classes. The major 
difference is that Frame can exist on its own but Panel can 
not.
 
Is This Answer Correct ?    3 Yes 6 No
Rajesh Dangi
 
  Re: What is the difference between panel and frame ?
Answer
# 4
Frame:big place which have panels
Panel:container inside of big place
 
Is This Answer Correct ?    0 Yes 1 No
Mekala
 

 
 
 
Other Core Java Interview Questions
 
  Question Asked @ Answers
 
How to add panel to a Frame?  2
How a class can implement an interface? SysArc4
Which Math method is used to calculate the absolute value of a number? Accenture3
what is the use of finalize()Method please explain with an example  2
what is the difference between multitasking and multithreading?  8
If there is no implementation of MARKER INTERFACE in java. Then how compiler come to know about specification.  2
What is the purpose of the finally clause?  3
can we have function for truncating the sign as like abs in oracle.  1
What are the parameters used in Connection pooling? IBM1
if two references are having same hash codes,is that means those are refering to same object? CTS4
what are the different access specifiers that can be used by interfaces and abstract classes? can anyone give me detailed description on this  7
What is the use of bin and lib in JDK?  3
what is the use of servlet engine? Photon2
Have you used any version control ? if so explain about it?  1
Why non nested classes in java are not having marked as protected access specifier Google1
What is a deadlock ?  5
What are packages and name a few?  4
What is method Overloading in the perspective of OOPS?  4
What are the advantages of the model over the event- inheritance model?  1
As a developer what steps do you take to improve the performance?  3
 
For more Core Java 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