The JFC Swing Tutorial: A Guide to Constructing GUIsAddison-Wesley, 1999 - 953 Seiten From the authors of the best-selling Java(TM) Tutorial, here is a guide to using the new Swing components, which are provided by the Java(TM) Foundation Classes (JFC). Developed and co-written by the lead writer on the Swing team, this book covers everything you need to know to write GUIs that use Swing components. The JFC Swing Tutorial uses a task-oriented, example-driven approach to introduce you to fundamental concepts and applications. Designed to be read either cover-to-cover or as a quick reference, this book explains how to use each Swing component, perform layout, do basic drawing, and convert 1. 1 AWT programs to Swing. This book covers Swing 1. 1. 1, which is available both as an extension to JDK(TM) 1. 1 and as a core part of the Java(R) 2 Platform. Chapters include: A quick start chapter, including a tour of a Swing application's code Swing features and concepts How-to information for all the Swing componentslabels, tool tips, buttons, menus, tables, scroll panes, text components, and more Instructions on how to write event handlers How to use layout managers Tips on solving common problems Guidance on working with graphics How to convert from AWT components to Swing |
Inhalt
Components and Containment Hierarchies | 29 |
Using Swing Components | 34 |
CHAPTER 7 | 37 |
Urheberrecht | |
35 weitere Abschnitte werden nicht angezeigt.
Andere Ausgaben - Alle anzeigen
Häufige Begriffe und Wortgruppen
accessible action event ActionListener alignment API documentation applet assistive technologies book's CD-ROM boolean border BorderLayout BorderLayout.CENTER BoxLayout CardLayout caret CD-ROM and online check box clicks color chooser column combo box component's constructor containment hierarchy content pane Create default Demo Demo.java dialog display Event API event handler Event Listeners example FlowLayout GridBagLayout GridLayout Here's icon ImageIcon implements import javax.swing inner class Integer interface internal frame Java Java 2 Platform JOptionPane JPanel JScrollPane JTable label layered pane layout manager listener Look & Feel look and feel menu item method mouse MouseEvent node null object online at http://java.sun.com painting provides public class public void actionPerformed radio buttons scroll pane selection slider SOURCE CODE split pane String subclass Swing components SwingWorker tabbed pane text area text component text field thread timer tool tip tree Tutorial void actionPerformed ActionEvent window