201671010105 2016-2017-2 "Java program design" 12th Week learning Experience

Source: Internet
Author: User

this week We mainly study the graphical programming,LAWT Library Processing user interface elements: the creation and behavior of graphical elements delegated to the local GUI toolbox for processing. This has many drawbacks. Because users use different platforms, there is a big difference in perception. While swing compensates for this shortcoming,theSwing user interface Library is a non-peer-based GUI toolkit. Swing has a richer and more convenient collection of user interface elements. Swing has few dependencies on the underlying platform, so there are few platform-related bugs. Swing brings a unified visual experience across the cross-platform. The Swing class library is placed in the javax.swing package. objects created in Java by subclasses or indirect subclasses of the component class are called a component. Containers are components that can hold and arrange components in Java, so containers are special components, and the most common container is the framework. Most AWT components have the equivalent of their swing components, and most swing components start with "J". the container class provides a method add () that is used to add additional components to the Container class Component object. The container itself is also a component that can add a container to another container, enabling container nesting. This week's content study more solid, overall good.

201671010105 2016-2017-2 "Java program design" 12th Week learning Experience

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.