This week's lab class learned about graphic programming, from framing to specific graphic printing, font settings, and other modifications to the framework. Through this week's program experiment I summed up the knowledge points:
The 1.setSize method is inherited by the parent class component Class (the ancestor of the GUI object).
2.pack () Call the preferred size of the framework component, or we can replace it with the SetSize method
The 3.Swing class library is placed in the javax.swing package. It's javax, not java!.
The name of the 4.Swing component is typically a letter "J" preceded by the AWT component name.
The 5.Container class provides a method add () that is used to add additional components to the Container class Component object.
The 13 standard colors defined in the 6.Color class, plus a composite color, that is, by blending the colors of the three colors of red, green and blue
This week's theory class also on the 1-4 chapters of the knowledge of the test, I found that the code of the program is still very poor understanding, such as the program in the blanks, no link between the front and back code, resulting in a lot of mistakes, lost points seriously. Especially after knowing the answer, utterly confused, there is only code to know me, and I do not know it feeling. After reflection, I think the code to read more, write more, think more, more research, so as to understand the code.
201671010116.2016-2017-12 "Java Programming" 12th Week study Summary