tailieunhanh - Introduction to java programming: Chapter 28 - Containers, Layout Managers, and Borders

Introduction to java programming: Chapter 28 - Containers, Layout Managers, and Border's Objectives is to know the internal structures of the Swing container, understand how a layout manager works in Java, use CardLayout, GridBagLayout, BoxLayout LayeredLayout, and SpringLayout. | Chapter 28 Containers Layout Managers and Borders Liang Introduction to Java Programming Fifth Edition c 2005 Pearson Education Inc. All rights reserved. 0-13-148952-6 1 Objectives To know the internal structures of the Swing container . To understand how a layout manager works in Java . To use CardLayout GridBagLayout BoxLayout LayeredLayout and SpringLayout . To create custom layout managers . To use JScrollPane to create scroll panes . To use JTabbedPane to create tabbed panes . To use JSplitPane to create split panes . To use various borders for Swing components . Liang Introduction to Java Programming Fifth Edition c 2005 Pearson Education Inc. All 2 rights reserved. 0-13-148952-6 2 How a Component is Displayed User interface components like JButton cannot be displayed without being placed in a container. A container is a component that is capable of containing other components. You do not display a user interface component you place it in a container and the container displays the components it contains. The base class for all containers is which is a subclass of . The Container class has the following essential functions Liang Introduction to Java Programming Fifth Edition c 2005 Pearson Education Inc. All rights reserved. .

crossorigin="anonymous">
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.