Hi Kajol,
First of all Panel and Frame are not layouts they are containers. The major difference is that Frame includes window borders (i.e., title bar, resize corners, max/min/close button, etc) and Panel doesn't. Both containers can support any layout you want to use.
Frame is a subclass of Window therefore it inherits all the window functionality (i.e., close, open, show, hide).
By default Window and Frame use BorderLayout while
Applet and Panel use FlowLayout.
Regards,
Manfred.