Answer:
It is one of the methods that each JButton object has.
(JButtons are objects, so they have identity, state, and behavior as do
all objects.)
Setting JButton Commands
Here is the program so far, but with some new blanks.
QUESTION 11:
Fill in the blanks.
- Each button needs to have a command set for it.
- A command is a
String. - The commands must be unique.