filmov
tv
AWT Button and ActionListener | Java AWT Tutorial #03

Показать описание
In this video, we will create Java AWT Button and TextField. Then, we will handle the button click event using AWT ActionListener and set a greeting text in the text field.
Code Snippet:
00:00 Introduction
00:31 About AWT Button
02:38 Step1: Create Button
06:58 Step2: ActionListener
10:41 Step3: Add A TextField
17:48 Step4: Button Handler
Code Snippet:
00:00 Introduction
00:31 About AWT Button
02:38 Step1: Create Button
06:58 Step2: ActionListener
10:41 Step3: Add A TextField
17:48 Step4: Button Handler