Names in Observer Pattern

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()


previous | start | next .... [Slide 21] ....