What is the difference between panel and frame ?
Answer Posted / sathya
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 ? | 217 Yes | 23 No |
Post New Answer View All Answers
what is an objects lock and which objects have locks? : Java thread
What is a final class ?
How to create com object in Java?
What is multi level inheritance in java?
Explain the Propertie sof class?
Is a boolean 1 bit?
What are the restrictions imposed on method overriding?
Explain illegalmonitorstateexception and when it will be thrown?
Explain the inheritance?
What is the inheritance?
What is difference between static and final?
Define iterator and methods in iterator?
What are the types of java languages?
Does java arraylist maintain insertion order?
How do you end a program?