FileDocCategorySizeDatePackage
ReallyQuitDialog.javaAPI DocExample872Fri Feb 16 13:29:32 GMT 1996None

ReallyQuitDialog

public class ReallyQuitDialog extends YesNoDialog

Fields Summary
TextComponent
status
Constructors Summary
public ReallyQuitDialog(Frame parent, TextComponent status)

 
        super(parent, "Really Quit?", "Really Quit?", "Yes", "No", null);
        this.status = status;
    
Methods Summary
public voidno()

 
        if (status != null) status.setText("Quit cancelled."); 
    
public voidyes()

 System.exit(0);