Java Programming A Swing button can have more than one actio
Java Programming
A Swing button can have more than one action listener.
is this True or False?
Solution
Answer: False
A Swing button can have only one action listener and one action event. these are ActionListener and ActionEvent respectively.
We can handle that action by using beow method that is provided by ActionListner.
public void actionPerformed(ActionEvent e){
}
