class javax.swing.JOptionPane$2 extends java.awt.event.WindowAdapter
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.swing.JOptionPane$2
super_class: java.awt.event.WindowAdapter
{
private boolean gotFocus;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
final javax.swing.JOptionPane this$0;
descriptor: Ljavax/swing/JOptionPane;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private final java.beans.PropertyChangeListener val$listener;
descriptor: Ljava/beans/PropertyChangeListener;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final javax.swing.JDialog val$dialog;
descriptor: Ljavax/swing/JDialog;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(javax.swing.JOptionPane, java.beans.PropertyChangeListener, javax.swing.JDialog);
descriptor: (Ljavax/swing/JOptionPane;Ljava/beans/PropertyChangeListener;Ljavax/swing/JDialog;)V
flags: (0x0000)
Code:
stack=2, locals=4, args_size=4
start local 0 0: aload 0
aload 1
putfield javax.swing.JOptionPane$2.this$0:Ljavax/swing/JOptionPane;
aload 0
aload 2
putfield javax.swing.JOptionPane$2.val$listener:Ljava/beans/PropertyChangeListener;
aload 0
aload 3
putfield javax.swing.JOptionPane$2.val$dialog:Ljavax/swing/JDialog;
aload 0
invokespecial java.awt.event.WindowAdapter.<init>:()V
1: aload 0
iconst_0
putfield javax.swing.JOptionPane$2.gotFocus:Z
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/JOptionPane$2;
MethodParameters:
Name Flags
this$0 final
val$listener final
val$dialog final
public void windowClosing(java.awt.event.WindowEvent);
descriptor: (Ljava/awt/event/WindowEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.JOptionPane$2.this$0:Ljavax/swing/JOptionPane;
aconst_null
invokevirtual javax.swing.JOptionPane.setValue:(Ljava/lang/Object;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/JOptionPane$2;
0 2 1 we Ljava/awt/event/WindowEvent;
MethodParameters:
Name Flags
we
public void windowClosed(java.awt.event.WindowEvent);
descriptor: (Ljava/awt/event/WindowEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.JOptionPane$2.this$0:Ljavax/swing/JOptionPane;
aload 0
getfield javax.swing.JOptionPane$2.val$listener:Ljava/beans/PropertyChangeListener;
invokevirtual javax.swing.JOptionPane.removePropertyChangeListener:(Ljava/beans/PropertyChangeListener;)V
1: aload 0
getfield javax.swing.JOptionPane$2.val$dialog:Ljavax/swing/JDialog;
invokevirtual javax.swing.JDialog.getContentPane:()Ljava/awt/Container;
invokevirtual java.awt.Container.removeAll:()V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/JOptionPane$2;
0 3 1 e Ljava/awt/event/WindowEvent;
MethodParameters:
Name Flags
e
public void windowGainedFocus(java.awt.event.WindowEvent);
descriptor: (Ljava/awt/event/WindowEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.JOptionPane$2.gotFocus:Z
ifne 3
1: aload 0
getfield javax.swing.JOptionPane$2.this$0:Ljavax/swing/JOptionPane;
invokevirtual javax.swing.JOptionPane.selectInitialValue:()V
2: aload 0
iconst_1
putfield javax.swing.JOptionPane$2.gotFocus:Z
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/JOptionPane$2;
0 4 1 we Ljava/awt/event/WindowEvent;
MethodParameters:
Name Flags
we
}
SourceFile: "JOptionPane.java"
EnclosingMethod: javax.swing.JOptionPane.initDialog:(Ljavax/swing/JDialog;ILjava/awt/Component;)V
NestHost: javax.swing.JOptionPane
InnerClasses:
javax.swing.JOptionPane$2