The twelfth week study summary

I. Other containers
1.JPanel: default flow layout manager.
JPanel can complete complex interface display, arbitrary components may be added, directly added to the vessel JPanel JFrame container is displayed.
Common methods:

2.JSplitPane: The main functions are dividing panels, a form can be divided into two forms, can make vertical alignment, it may be arranged horizontally.
The main methods and constants:

3.JTabbedPane: is to set multiple tabs on a panel for users to choose.
Common methods and variables:

4.JScrollPane: The main function is to increase the level of scroll bars to display the content. And a JVieport JScrollBar, the former is mainly a rectangular display
area allows users to browse, which is mainly formed horizontal or vertical scroll bar is.
Common methods and variables:

5.JDesktopPane and JInternalFrame: the former provides a basic form of the parent form, which establishes the respective sub-windows.
Common method JDesktopPane class:

Common method JInternalFrame class:

Second, the time to process
1. events and listeners: the event is to represent the state of an object change occurs, the event listener: all in the form of interface.

2. Form Event:
WindowListerner: is devoted listener interfaces form listener.

method:

Guess you like

Origin www.cnblogs.com/jzq93/p/11869519.html