Write an AWT GUI application (called AWTCounter).
Each time the “Count” button is clicked, the counter value shall increase by 1.
The program has three components:
1. a java.awt.Label “Counter”;
2. a non-editable java.awt.TextField to display the counter value; and
3. a java.awt.Button “Count”.
1 Answer