The argument of the JFrame
constructor, "Movie Application", shown
in Segment 679, supplies the title for the window associated
with the container. The setSize
method fixes the size of the
window using width and height arguments. The show
method
displays the window, which otherwise would exist, but would not be visible.
Working together, those methods produce the following window: