|
|
|
|
|
|
|
|
|
|
|
|
|
|
JAVA APPLET
Each time a button is pressed, an action event is generated. This is sent to any listeners that previously registered an interest in receiving action event notifications from that component. Each listener implements the ActionListener interface. The interface defines the actionPerformed() method, which is called when an event occurs. Here is an example to handle a button
|
||||||||
|
|