Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ
Tải xuống
Cấu trúc tạo ra cách này được coi là năng động bởi vì kích thước của chúng được xác định tự động, như chúng được sử dụng, và không kê khai. Một cấu trúc dữ liệu cố định có kích thước cụ thể cho thời gian của sự tồn tại của nó, | Swing Java Swing - O Reilly Java Swing Copyright 1998 O Reilly Associates Inc. All rights reserved. Printed in the United States of America. Published by O Reilly Associates Inc. 101 Morris Street Sebastopol CA 95472. Java and all Java-based trademarks and logos are trademarks or registered trademarks of Sun Microsystems Inc. in the United States and other countries. O Reilly Associates Inc. is independent of Sun Microsystems. The O Reilly logo is a registered trademark of O Reilly Associates Inc. Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this book and O Reilly Associates Inc. was aware of a trademark claim the designations have been printed in caps or initial caps. The use of the jukebox image in association with Java Swing is a trademark of O Reilly Associates Inc. While every precaution has been taken in the preparation of this book the publisher assumes no responsibility for errors or omissions or for damages resulting from the use of the information contained herein. Java Swing Preface - 5 What This Book Covers About the Source Code Conventions Acknowledgments 1. Introducing Swing - 10 1.1 What Is Swing 1.2 Swing Features 1.3 Swing Packages and Classes 1.4 The Model-View-Controller Architecture 1.5 Working with Swing 1.6 The Swing Set Demo 1.7 Reading this Book 2. Jump Starting a Swing Application - 27 2.1 Upgrading Your Programs 2.2 Beyond Buttons 2.3 A Bigger Application 3. Swing Component Basics - 44 3.1 Understanding Actions 3.2 Sending Change Events in Swing 3.3 The JComponent Class 4. Labels and Icons - 74 4.1 Labels 4.2 Icons 5. Buttons - 88 5.1 Buttons 6. Bounded Range Components - 112 6.1 The Bounded-Range Model - 2 - Java Swing - O Reilly 6.2 The JScrollBar Class 6.3 The JSlider Class 6.4 The JProgressBar Class 6.5 Monitoring Progress 7. Lists and Combo Boxes - 137 7.1 Lists 7.2 Representing List Data 7.3 Handling Selections 7.4 Displaying .