201671010116.2016-2017-12 "Java Programming" 12th Week study Summary

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.