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
how to create daemon thread in java?
What are different types of references?
How can we achieve thread safety in java?
How can we pass argument to a function by reference instead of pass by value?
What is the use of flag?
Can we create our own daemon thread?
What is data type in computer?
what is the difference between a threads start() and run() methods? : Java thread
Is string a data type in java?
What Is Composition?
What is qualitative variable?
What is protected in java?
What is treeset in java collection?
How many types of equations are there?
Can a constructor be made final?