java.lang.Object | +----java.awt.Component | +----java.awt.Container | +----java.awt.Window | +----java.awt.Dialog | +----QuitDialog
true
if the
user used the Yes button, false
otherwise (The No button
is used, the Dialog gets a WINDOW_DESTROY or no button used yet).
private boolean result
true
if the
user used the Yes button, false
otherwise (The No button
is used, the Dialog gets a WINDOW_DESTROY or no button used yet).
Button yesButton
Button noButton
Label quitLabel
public QuitDialog(Frame parent, boolean modal)
public QuitDialog(Frame parent, String title, boolean modal)
boolean getResult()
void yesButton_Clicked(Event event)
void noButton_Clicked(Event event)
public synchronized void show()
public boolean handleEvent(Event event)