Java AWT Container - Framework

Container

-The two main types of Container are Window and Panel

-Window is an object of Java.awt.Window

Window is an object of java.awt.Window. Window is an independent native window on the display, it is independent of other containers

Window has two forms: Frame (frame) and Dialog (dialog). Frame and Dialog are subclasses of Window. A Frame is a window with a title and zoomed corners. The dialog has no menu bar. Although it can move, it cannot scale


Panel is an object of Java.awt.Panel

-Panel is an object of Java.awt.Panel. The Panel is contained in another container, or in a web browser window. Panel defines a quadrilateral into which other components are placed. Panel must be placed in Window (or a subclass of Window) in order to be displayed



Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324709115&siteId=291194637