Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ
Tải xuống
Lecture 6: Introduction to the Swing Toolkit includes A brief introduction to Swing, Swing features, Demo; the Swing toolkit, a part of the Java platform provides a rich set of GUI (Graphical User Interface) components. | Lecture 6: Introduction to the Swing Toolkit Lê Hồng Phương phuonglh@gmail.com Department of Mathematics, Mechanics and Informatics Vietnam National University, Hanoi Content ● A brief introduction to Swing ● Swing features ● Demo 2012-2013 Object-Oriented Programming: Introduction to Swing 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 2012-2013 Object-Oriented Programming: Introduction to Swing 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 2012-2013 Object-Oriented Programming: Introduction to Swing 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 application 2012-2013 Object-Oriented Programming: Introduction to .