0 6

BIT401 ยท 0 ยท 5 marks

What is action command? How it is used in java programs? Explain with example.

What is action command? How it is used in java programs? Explain with example. [5]

Advanced Java ProgrammingChapter 3: GUI Programming with AWT and SwingEvent handling and action commands

An action command is a string that identifies or labels an action event in Java. It is associated with components like buttons, menu items, and text fields to distinguish between different user actions and determine what operation should be performed when an event occurs. Action commands are used...