TextField to display the counter value; and; a java.awt. Frame public class AWTCounter extends Frame implements ActionListener { private Label . getActionCommand()); // getActionCommand() returns the String entered. sum += numberIn; tfInput. .. A Java Swing application has a login page as shown in the Figure..