A good answer might be:

The blanks are filled in, below.


Blanks filled

import java.awt.*; 
import java.awt.event.*;
import javax.swing.*;

class myFrame extends JFrame
{
  public void paint ( Graphics g )
  {
    g.drawString("Click the close button", 10, 50 );  
  }
}

class WindowQuitter extends WindowAdapter
{
  public void windowClosing( WindowEvent e )
  {
    System.exit( 0 );
  }
}

public class GUItester
{
  public static void main ( String[] args )
  {
    myFrame frm = new myFrame();
    WindowQuitter wquit = new WindowQuitter(); 
    frm.addWindowListener( wquit ); 
    frm.setSize( 150, 100 ); 
    frm.setVisible( true ); 
  }
}

QUESTION 14:

(Thought question: ) Could the main() method be a static method of the myFrame class?