CS133-lecture-20210217

Event driven #

IMAGE IMAGE IMAGE IMAGE IMAGE IMAGE IMAGE IMAGE IMAGE IMAGE IMAGE IMAGE IMAGE IMAGE IMAGE IMAGE IMAGE IMAGE IMAGE

laidOut() is called once the component is fully “laid out” (once it’s drawn after the show() method is called).

IMAGE

Command design pattern #

IMAGE IMAGE IMAGE IMAGE IMAGE IMAGE IMAGE IMAGE IMAGE IMAGE IMAGE IMAGE IMAGE IMAGE IMAGE IMAGE IMAGE

Observer design pattern #

IMAGE IMAGE IMAGE IMAGE IMAGE IMAGE IMAGE IMAGE IMAGE

The old way of doing it: #

IMAGE IMAGE IMAGE IMAGE IMAGE