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
Describe the various concepts related to object oriented programming (oop).
when you will synchronize a piece of your code? : Java thread
Explain notify() method of object class ?
What is appletviewer?
What is t in generics in java?
What are the differences between stringbuffer and stringbuilder?
Is arraylist sorted in java?
What is arraylist e?
Why string is a class?
Are variables stored in ram?
What is command line argument
Can Exception handling we can handle multiple catch blocks?
What are constants?
Can we override private method?
How to use arraylist in java netbeans?