Here is the answer.
A Frame is part of java.awt package, frame is a resizable, movable window with title bar and close button. Usually it contains Panels. Its derived from a window and has a borderlayout by default.
A window is a Container and has BorderLayout by default. A window must have a parent Frame mentioned in the constructor.