Monday, July 30, 2012

Difference Between Window and Frame in Java


What is the Difference between a window and a Frame?
A window is an undecorated Frame. That is it doesn’t have title bar, border and any close button. It is just a container, which holds children components on it like button, label, text field, etc. Simple we can say it is an imaginary rectangle. The default layout to place these children is Border Layout.
A Frame is derived from window but it has title bar, border, close button, minimize button, resizable and movable options. By default it also has Border Layout.
Note: A frame is a part of a window, but a window is not a part of window.

1 comment :

1 comments :

Unknown said...

fuck note


Post a Comment

Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Powered by Blogger