What is the difference between panel and frame ?
Answer Posted / rajesh dangi
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 ? | 46 Yes | 26 No |
Post New Answer View All Answers
How to do encapsulation in java?
How to declare objects of a class ?
What is the final field modifier?
Hi all, I am dng a mini project on FileSplitter application which splits the GBs of logfile into Smaller chunks(mbs) depending on the split size." How to handle GBs file? I am getting OutOfMemoryException, when I input such GB sized file. Thx
Do I need java on my pc?
What is a java predicate?
What is a local class in java?
What is a Hash Table? What are the advantages of using a hash table?
Difference between arraylist and vector.
Explain the difference between call by refrence and call by value?
What are the steps in the jdbc connection?
Can we define a package statement after the import statement in java?
What is compiler and what its output.
Can we create an object of static class in java?
why are wait(), notify() and notifyall() methods defined in the object class? : Java thread