Any user interact with java program in two different way, CUI (Command user Interface) and GUI (Graphical user Interface). In this tutorial we discuss about how to user interact with java code with GUI components.
Changing the state of an object is known as an event. The process of handling the request in GUI screen is known as event handling (event represent an action). It will be changes component to component.