| SE450: Names in Observer Pattern [23/72] | ![]() ![]() ![]() |
| Name in Design Pattern |
Actual Name (Swing buttons) |
| Subject |
JButton |
| Observer |
ActionListener |
| ConcreteObserver |
the class that implements the ActionListener
interface type |
| attach() |
addActionListener() |
| notify() | actionPerformed() |