Because the reference is private,
The getter method shown in Listing 1
public JFrame getFrame(){ return frame; }//end getFrame