Add the
Panel
to the
JFrame
At the end of
Listing 4
,
the panel has been populated with GUI components.
However the panel itself
has not been added to the
JFrame
object
that forms the
World
object.
That is accomplished in
Listing 5
.
File: bh.htm
[Next]
[Prev]