Outline:
1) Basic GUI components: the demo instance is in the/jsdk/demo/jfc/swingset2/directory /;
Overall swing Introduction: javax. swing (lightweight); Java. AWT (highly correlated); containers (components are placed in containers with top-level containers and other containers) and components (basic control components, editable display components, and non-editable display components)
Top-layer container: Small ApplicationProgramAppletjapplet, dialog box, and framework jframe; other containers: Panel jpanel, scroll pane, split pane, label pane, toolbar jtoolbar.
Basic control components: button jbutton, single-choice button, check box jcheckbox, ComboBox, list, menu, slide bar, text box jtextfield, etc.
Uneditable display components: Label jlabel, progress bar, and prompt information
Editable display components: color selector, file selector, table, text jtextarea, tree structure jtree