First, the basic concept
- The Java Abstraction Window Toolbox (abstract Windows Toolkit, AWT) is included in the java.awt package, which provides many of the component classes and container classes used to design the GUI.
- The AWT library handles user interface elements by delegating the creation and behavior of graphical elements to the local GUI toolbox for processing.
- The application of AWT authoring relies on the local user interface element GUI to expose some flaws. For example, menus, scroll bars, and text fields these user interface elements, on different platforms, have some subtle differences in the behavior of operations.
- The Swing user interface library is a non-peer-based GUI toolbox.
- Swing has a richer and more convenient collection of user interface elements.
- Swing has few dependencies on the underlying platform, so there are few platform-related bugs.
- Swing brings a unified visual experience across the cross-platform.
- The Swing class library is placed in the javax.swing package.
Ii. the relationship between AWT and swing
- Most AWT components have their own equivalent components of swing.
- The name of the swing component is typically a letter "J" in front of the AWT component name, such as Jbutton,jframe,jpanel.
Third , object-oriented program design course study progress bar
Moonphases |
Number of lines of code (read/write) |
Post Blog volume/Comment blog number |
Classroom/after-school time (hours) |
The most satisfying programming task |
First week |
20/7 |
1/1 |
6/4 |
Write the Hello World program |
Second week |
38/20 |
1/1 |
6/5 |
Experiment two task three |
Third week |
50/30 |
1/1 |
6/7 |
Experiment Three |
Week Four |
58/46 |
1/1 |
6/5 |
Write the output n digits of the numbers, and sum |
Week Five |
67/53 |
1/1 |
6/6 |
Classes are defined and overloaded |
Week Six |
71/60 |
1/1 |
6/4 |
Interface |
Eighth Week |
80/66 |
1/1 |
6/3 |
LAMDBA-expression |
Nineth Week |
85/60 |
1/1 |
6/2 |
Operation of the ID |
Tenth Week |
121/80 |
1/1 |
6/2 |
Experiment Nine |
11th Week |
120/84 |
1/1 |
6/2 |
Experiment Ten |
12th Week |
131/90 |
1/ |
6/2 |
Experiment Xi. |
...... |
|
|
|
|
Cumulative |
841/589 |
11/10 |
66/42 |
|
201671010128 graphical programming of Java programming in 2017-11-12