Lecture 8: Introduction to the Swing Toolkit

Lecture 8: Introduction to the Swing Toolkit includes A brief introduction to Swing, Swing features; The Swing toolkit, a part of the Java platform provides a rich set of GUI (Graphical User Interface) components. | Lecture 8: Introduction to the Swing Toolkit Lê Hồng Phương phuonglh@ Department of Mathematics, Mechanics and Informatics Vietnam National University, Hanoi Content ● A brief introduction to Swing ● Swing features ● Demo 2 What is Swing? ● The Swing toolkit, a part of the Java platform provides a rich set of GUI (Graphical User Interface) components. – A collection of standard widgets – Many functionalities 3 Features provided by Swing ● GUI components: – Basic components: buttons, check boxes, menus. – Rich and complex components: texts, tables, trees. ● Java 2D API: figures, images, shadows. ● Pluggable Look-And-Feel supports: – ● Java LAF, platform LAF, custom LAF Data transfer: cut, copy, paste, drag and drop between applications 4 Features provided by Swing ● Internationalization – Applications that can interact with users world wide in their own languages and cultural conventions. ● Undo framework API: undo, redo supports ● Flexible deployment supports: – Applets which run in web browsers – Programs which launch from a browser using Java Web Start – Standard desktop .

Không thể tạo bản xem trước, hãy bấm tải xuống
TÀI LIỆU MỚI ĐĂNG
38    80    2    02-06-2024
421    83    1    02-06-2024
8    331    1    02-06-2024
Đã 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.