201671010114 2016-2017-2 "Java programming" 12th Week study Summary

Source: Internet
Author: User

This week, we learned about graphic programming, and in writing programs, you define class objects to invoke a series of methods in a class to implement the framework's settings. The component class is the top-level parent of the graphical user interface, and the vast majority of swing component classes start with "J", and mixing swing and AWT components together will result in inconsistent vision and behavior. JFrame is one of the few swing components that are not drawn on the canvas. All swing components must be configured by the event dispatch thread, which transfers the mouse click and key control to the user interface component. In this experiment, methods in the class that inherit from the class are called in the constructor of the custom class. In the main class, the object of the custom class is passed into the Add method and the framework can be designed using the method used in the custom class builder. Learning in this chapter is more about mastering the use of a series of methods in a class to set up the framework that you need. Returns the size of the user's screen by dimension the Getscreensize () method. During this week's tests, it was found that some of the concepts were ambiguous, which may be a lack of mastery of knowledge and a lack of detail.

201671010114 2016-2017-2 "Java programming" 12th Week study Summary

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.