.class public ReallyQuitDialog

.super YesNoDialog

.field private protected status Ljava/awt/TextComponent;

.method public <init>(Ljava/awt/Frame;Ljava/awt/TextComponent;)V
  .limit locals 3
  .limit stack 7
  aload_0
  aload_1
  ldc "Really Quit?"
  ldc "Really Quit?"
  ldc "Yes"
  ldc "No"
  aconst_null
  invokenonvirtual YesNoDialog/<init>(Ljava/awt/Frame;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
  aload_0
  aload_2
  putfield ReallyQuitDialog/status Ljava/awt/TextComponent;
  return
.end method

.method public yes()V
  .limit locals 1
  .limit stack 2
  new joos/lib/JoosSystem
  dup
  invokenonvirtual joos/lib/JoosSystem/<init>()V
  iconst_0
  invokevirtual joos/lib/JoosSystem/exit(I)V
  return
.end method

.method public no()V
  .limit locals 1
  .limit stack 2
  aload_0
  getfield ReallyQuitDialog/status Ljava/awt/TextComponent;
  aconst_null
  if_acmpeq stop_0
  aload_0
  getfield ReallyQuitDialog/status Ljava/awt/TextComponent;
  ldc "Quit cancelled."
  invokevirtual java/awt/TextComponent/setText(Ljava/lang/String;)V
  stop_0:
  return
.end method

