Home Segments Top Top Previous Next

695: Mainline

In the definition of the MovieApplication class, shown in Segment 694, there is a call to the one-parameter constructor of the superclass, the JFrame class. As explained in Segment 300, the first statement in a constructor can be a call to another constructor, which in the MovieApplication class is a call to the one-parameter JFrame constructor. The title of the window is the argument.