previous
contents
next
The Controller
In this simple example, the
Controller
class creates and initializes the
Model
and the
View
It doesn't actually "control" very much
In more complex programs, the
Controller
will:
Receive GUI events and
Set variables that
may
be accessed by the
Model