final class sun.applet.TextFrame extends java.awt.Frame
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.applet.TextFrame
super_class: java.awt.Frame
{
private static sun.applet.AppletMessageHandler amh;
descriptor: Lsun/applet/AppletMessageHandler;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new sun.applet.AppletMessageHandler
dup
ldc "textframe"
invokespecial sun.applet.AppletMessageHandler.<init>:(Ljava/lang/String;)V
putstatic sun.applet.TextFrame.amh:Lsun/applet/AppletMessageHandler;
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(int, int, java.lang.String, java.lang.String);
descriptor: (IILjava/lang/String;Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=5, locals=9, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial java.awt.Frame.<init>:()V
1: aload 0
aload 3
invokevirtual sun.applet.TextFrame.setTitle:(Ljava/lang/String;)V
2: new java.awt.TextArea
dup
bipush 20
bipush 60
invokespecial java.awt.TextArea.<init>:(II)V
astore 5
start local 5 3: aload 5
aload 4
invokevirtual java.awt.TextArea.setText:(Ljava/lang/String;)V
4: aload 5
iconst_0
invokevirtual java.awt.TextArea.setEditable:(Z)V
5: aload 0
ldc "Center"
aload 5
invokevirtual sun.applet.TextFrame.add:(Ljava/lang/String;Ljava/awt/Component;)Ljava/awt/Component;
pop
6: new java.awt.Panel
dup
invokespecial java.awt.Panel.<init>:()V
astore 6
start local 6 7: aload 0
ldc "South"
aload 6
invokevirtual sun.applet.TextFrame.add:(Ljava/lang/String;Ljava/awt/Component;)Ljava/awt/Component;
pop
8: new java.awt.Button
dup
getstatic sun.applet.TextFrame.amh:Lsun/applet/AppletMessageHandler;
ldc "button.dismiss"
ldc "Dismiss"
invokevirtual sun.applet.AppletMessageHandler.getMessage:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.awt.Button.<init>:(Ljava/lang/String;)V
astore 7
start local 7 9: aload 6
aload 7
invokevirtual java.awt.Panel.add:(Ljava/awt/Component;)Ljava/awt/Component;
pop
10: aload 7
new sun.applet.TextFrame$1ActionEventListener
dup
aload 0
invokespecial sun.applet.TextFrame$1ActionEventListener.<init>:(Lsun/applet/TextFrame;)V
invokevirtual java.awt.Button.addActionListener:(Ljava/awt/event/ActionListener;)V
11: aload 0
invokevirtual sun.applet.TextFrame.pack:()V
12: aload 0
iload 1
iload 2
invokevirtual sun.applet.TextFrame.move:(II)V
13: aload 0
iconst_1
invokevirtual sun.applet.TextFrame.setVisible:(Z)V
14: new sun.applet.TextFrame$1
dup
aload 0
invokespecial sun.applet.TextFrame$1.<init>:(Lsun/applet/TextFrame;)V
astore 8
start local 8 15: aload 0
aload 8
invokevirtual sun.applet.TextFrame.addWindowListener:(Ljava/awt/event/WindowListener;)V
16: return
end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lsun/applet/TextFrame;
0 17 1 x I
0 17 2 y I
0 17 3 title Ljava/lang/String;
0 17 4 text Ljava/lang/String;
3 17 5 txt Ljava/awt/TextArea;
7 17 6 p Ljava/awt/Panel;
9 17 7 b Ljava/awt/Button;
15 17 8 windowEventListener Ljava/awt/event/WindowListener;
MethodParameters:
Name Flags
x
y
title
text
}
SourceFile: "AppletViewer.java"
NestMembers:
sun.applet.TextFrame$1 sun.applet.TextFrame$1ActionEventListener
InnerClasses:
sun.applet.TextFrame$1
ActionEventListener = sun.applet.TextFrame$1ActionEventListener
RuntimeVisibleAnnotations:
java.lang.Deprecated(since = "9")