Advanced Java Programming20825 marksText boxes and text fields
Design a form that contains two text fields and two buttons with caption 'OK' and 'CANCEL' using AWT.
Design a form that contains two text fields and two buttons with caption 'OK' and 'CANCEL' using AWT. [5]
Component Purpose -------------------- Frame Container window for the form TextField Input fields for user data (2 fields) Button Clickable buttons with captions 'OK' and 'CANCEL' FlowLayout Arranges components in a row ActionListener Handles button click events - Form displays with two text inpu...