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
What is generic type?
What is collections framework?
What are the different types of inheritance in java?
Is char a data type in java?
What is the use of callablestatement?
What is string args [] in java?
What is a classloader in java?
Can java list be null?
Is java hard to learn?
Difference between string, string builder, and string buffer?
What are default methods ?
describe method overloading
What do you understand by synchronization?
Can we convert stringbuffer to string?
Can a class have multiple superclasses?