List of JavaSwing Graphical Interface Development Works and Detailed Case Explanation

Chapter 1 Overview of JavaSwing

1. 1 What is JavaSwing?

1. 1. 1 swing's development history

1. 1.2 Swing function

Characteristics of 1. 1.3 wobble

The packaging structure of 1.2. 1avaSwing

An example of 1.3 Java swing program

1.4 Summary of this chapter

1.5 exercises in this chapter

The second chapter is how to develop Swing program with IDE.

2. 1 how to develop Swing program with Eclipse

2.2 how to use JBuilder to develop Swing program

2.3 how to use NetBeans to develop Swing programs

2.4 Overview of this chapter

2.5 the exercises in this chapter

Chapter 3 JavaSwirlg Component Foundation

3. 1Swing component class hierarchy

3.2 Window class

3.2. 1 Top-level container classes and inclusion hierarchies

3.2.2 Add components to the top container.

3.2.3 Add a menu bar to the top-level container.

3.3j component class

3.4 Overview of this chapter

3.5 the exercises in this chapter

Chapter 4 How to Use Label and Button Components

4. 1 How to use labels

4.2 How to use buttons

4.2. 1 How to use ordinary buttons

4.2.2 How to use radio buttons

How to use check boxes

4.2.4 Application Example of Button Component

4.3 Overview of this chapter

4.4 the exercises in this chapter

Chapter 5 How to Use Layout Manager Components

5. 1 Overview of Layout Manager

5.2 Types of Layout Manager

5. 2. 1 boundary layout

Process layout

Grid layout

Grid layout

Card layout

Box layout

SpringLayout

5. 2. 8 Group Play

5.3 Creation of Custom Layout Manager

5.4 Overview of this chapter

5.5 the exercises in this chapter

Chapter 6 How to Use Panel Components

6. 1 How to use JPanel

6.2 how to use JScrollPane

6.3 how to use JSplitPane

6.4 how to use JTabbedPane

6.5 how to use JIntemalFrame

6.6 how to use JLayeredPane

6.7 how to use JRootPane

6.8 Overview of this chapter

6.9 the exercises in this chapter

Chapter VII Vortex Event Handling Mechanism

7. Overview of1Swing event handling mechanism

7.2 Swinging audience

7.2. 1 Event handling process and steps

7.2.2 Handling events through anonymous classes.

Adapter category

7.2.4 Event Listener Supported by Swing

7.2.5 window event handling

7.2.6 Action event handling

Handling of focus events

7.3 Overview of this chapter

7.4 the exercises in this chapter

Chapter 8 How to Use List Box and Drop-down List Box Components

8. 1 How to use the list box JList

8. 1. 1 Create a list box by array.

8. 1.2 Create a list box with vectors.

8. 1.3 use ListModel to create a list box.

8. 1.4 Handling of event selection in list box

8. 1.5 Handling of double-click event in list box

8.2 How to use the drop-down list box JComboBox

8.2. 1 Create a drop-down list box with arrays and vectors.

8.2.2 Create a drop-down list box using ComboBoxModel.

8.2.3 Event handling of drop-down list box

8.3 Overview of this chapter

8.4 the exercises in this chapter

Chapter 9 How to Use Progress Bar, Time, Slider and Separator Components

9. 1 How to use the progress bar component JProgressBar

9.2 How to use the time component timer

9.3 how to use the slider component JSlider

9.4 how to use the separator component JSeparator

9.5 Overview of this chapter

9.6 the exercises in this chapter

Chapter 10 How to Use Selector Components

How to use the file selector JFileChooser

10. 1. 1 How to Create a JFileChooser Component

10. 1.2 how to create a JFileChooser dialog box

10.2 how to use the color selector JColorChooser

10.3 Summary of this chapter

10.4 Practice in this chapter

Chapter 1 1 How to Use Text Components

1 1. 1 Overview of Text Components

1 1.2 How to use common text components

1 1.2. 1 How to use JTextField

1 1.2.2 how to use JPasswordField

1 1.2.3 how to use JFormattedTextField

1 1.3 how to use the text area component

1 1.4 How to print a text component

1 1.5 Summary of this chapter

1 1.6 Practice in this chapter.

Chapter 12 How to Use Windows, Dialogs and JApplet Components

12. 1 How to use window components

12.2 how to use dialog components

12.3 how to use the JApplet component

12.4 Summary of this chapter

12.5 Practice in this chapter

Chapter 13 How to Use Menu and Toolbar Components

13. 1 How to use menu components

13. 1. 1 class hierarchy of menu components

13. 1.2 How to create a menu

How to handle menu events

13. 1.4 How to respond to keyboard operation?

13. 1.5 How to use the pop-up menu

13. 1.6 How to use the enabling and disabling functions of menu items?

How to create a check box menu item

How to create a radio button menu item

13. 1.9 How to define a personalized menu?

13. 1. 10 general API for menu components.

13.2 how to use toolbar components

13. 2. 1 How to create a toolbar

13.2.2 How to define a personalized toolbar

13.2.3 Common API for toolbar components

13.3 Summary of this chapter

13.4 Practice in this chapter

Chapter 14 How to Use Table Components

14. 1 How to create a table?

14.2 how to add a form to a container

14.3 how to set the column width of the table

14.4 how to create a table model

14.5 how to monitor data changes

14.6 how to use the selector

14.7 how to use the editor and renderer

14.8 how to use a custom renderer

14.9 how to specify the text description of a cell

14. 10 How to specify the text description of the header?

How to use sorting and filtering in 14. 1 1

How to use combo boxes as editors

14. 13 how to use other editors

How to Verify Text with Editor

How to print a form?

14. 16 Summary of this chapter

14. 17 exercises in this chapter

Chapter 15 How to Use Tree Components

How to create a tree

15.2 how to create a data model

15.3 how to handle node events

15.3. 1 How to handle the TreeModelEvent event?

15.3.2 how to handle TreeSelectionEvent events?

15.4 how to define a personalized tree

General API for 15.5 tree components

15.6 Summary of this chapter

15.7 Practice in this chapter

Chapter 16 How to use the Swing Viewer

16. 1 How to set the look and feel of the program?

16.2 how to customize the viewer

16.3 Summary of this chapter

16.4 Practice in this chapter

Chapter 17 Swing and Concurrency

17. 1 multithreading problem

17.2 initial thread

17.3 event scheduling thread

17.4 worker thread

17.4. 1 Simple background task

17.4.2 Interim Results Task

17.4.3 Cancel the background task

17.4.4 binding properties and state methods

17.5 Summary of this chapter

17.6 Practice in this chapter

Chapter 18 Swing Model Architecture

18. 1 traditional MVC design pattern

18.2 separable model architecture

18.3 Summary of this chapter

18.4 Practice in this chapter

Chapter 19 Other characteristics of the swing

19. 1 how to use HTML in Swing components

19.2 How to use borders

How to use borders in 19. 2. 1 Swing

How to create a custom border

19.2.3 Common API for border components

19.3 How to use icons

19.4 How to use actions

19.5 how to support assistive technologies?

19.6 how to use the focusing subsystem

19.7 how to use key binding

19.8 how to use the host in the dialog box

How to create a splash screen

How to use the system tray

19. 1 1 How to use the rotary drag function and data transmission?

19. 12 Summary of this chapter

19. 13 exercises in this chapter

Chapter 20 Realization of the Address Book System by Rotation

20. 1 software framework of address book system

20.2 Login system of address book system

20.3 main menu system of address book system

20.3. 1 database module design

20.3.2 Information Interface Module Design

Design of functional modules

Design of other modules

20.3.5 Design of Tabbed Pane Container Frame

Design of main menu

Summary of this chapter

……