-----------------siwuxie095
Project Name: Testui
Package Name: Com.siwuxie095.ui
Class Name: Testpanel.java
The catalogue of engineering structure is as follows:
After the default form JFrame is created, it contains a ContentPane
In Source, the definition of ContentPane is a JPanel type
Javax.swing.JPanel class is inherited from Javax.swing.JComponent class
And the Javax.swing.JComponent class inherits from the Java.awt.Container class
Container is a container, that is, JPanel is also a container
(JComponent nature is also a container)
A container can contain other containers, or a single control (component)
In general, a JPanel class is often used to host other controls, and its main role
is to provide space for other controls as support, and to set their background color in properties
For each jpanel there is a layout option Layout, the root panel
The ContentPane layout defaults to Java.awt.BorderLayout
In addition to JPanel, in the design of the Container also contains other containers,
Their functions are similar to those of JPanel, but they provide different characteristics respectively.
"Made by siwuxie095"