class sun.applet.AppletProps extends java.awt.Frame
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.applet.AppletProps
super_class: java.awt.Frame
{
java.awt.TextField proxyHost;
descriptor: Ljava/awt/TextField;
flags: (0x0000)
java.awt.TextField proxyPort;
descriptor: Ljava/awt/TextField;
flags: (0x0000)
java.awt.Choice accessMode;
descriptor: Ljava/awt/Choice;
flags: (0x0000)
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 "appletprops"
invokespecial sun.applet.AppletMessageHandler.<init>:(Ljava/lang/String;)V
putstatic sun.applet.AppletProps.amh:Lsun/applet/AppletMessageHandler;
return
LocalVariableTable:
Start End Slot Name Signature
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=6, locals=2, args_size=1
start local 0 0: aload 0
invokespecial java.awt.Frame.<init>:()V
1: aload 0
getstatic sun.applet.AppletProps.amh:Lsun/applet/AppletMessageHandler;
ldc "title"
invokevirtual sun.applet.AppletMessageHandler.getMessage:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual sun.applet.AppletProps.setTitle:(Ljava/lang/String;)V
2: new java.awt.Panel
dup
invokespecial java.awt.Panel.<init>:()V
astore 1
start local 1 3: aload 1
new java.awt.GridLayout
dup
iconst_0
iconst_2
invokespecial java.awt.GridLayout.<init>:(II)V
invokevirtual java.awt.Panel.setLayout:(Ljava/awt/LayoutManager;)V
4: aload 1
new java.awt.Label
dup
getstatic sun.applet.AppletProps.amh:Lsun/applet/AppletMessageHandler;
ldc "label.http.server"
ldc "Http proxy server:"
invokevirtual sun.applet.AppletMessageHandler.getMessage:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.awt.Label.<init>:(Ljava/lang/String;)V
invokevirtual java.awt.Panel.add:(Ljava/awt/Component;)Ljava/awt/Component;
pop
5: aload 1
aload 0
new java.awt.TextField
dup
invokespecial java.awt.TextField.<init>:()V
dup_x1
putfield sun.applet.AppletProps.proxyHost:Ljava/awt/TextField;
invokevirtual java.awt.Panel.add:(Ljava/awt/Component;)Ljava/awt/Component;
pop
6: aload 1
new java.awt.Label
dup
getstatic sun.applet.AppletProps.amh:Lsun/applet/AppletMessageHandler;
ldc "label.http.proxy"
invokevirtual sun.applet.AppletMessageHandler.getMessage:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.awt.Label.<init>:(Ljava/lang/String;)V
invokevirtual java.awt.Panel.add:(Ljava/awt/Component;)Ljava/awt/Component;
pop
7: aload 1
aload 0
new java.awt.TextField
dup
invokespecial java.awt.TextField.<init>:()V
dup_x1
putfield sun.applet.AppletProps.proxyPort:Ljava/awt/TextField;
invokevirtual java.awt.Panel.add:(Ljava/awt/Component;)Ljava/awt/Component;
pop
8: aload 1
new java.awt.Label
dup
getstatic sun.applet.AppletProps.amh:Lsun/applet/AppletMessageHandler;
ldc "label.class"
invokevirtual sun.applet.AppletMessageHandler.getMessage:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.awt.Label.<init>:(Ljava/lang/String;)V
invokevirtual java.awt.Panel.add:(Ljava/awt/Component;)Ljava/awt/Component;
pop
9: aload 1
aload 0
new java.awt.Choice
dup
invokespecial java.awt.Choice.<init>:()V
dup_x1
putfield sun.applet.AppletProps.accessMode:Ljava/awt/Choice;
invokevirtual java.awt.Panel.add:(Ljava/awt/Component;)Ljava/awt/Component;
pop
10: aload 0
getfield sun.applet.AppletProps.accessMode:Ljava/awt/Choice;
getstatic sun.applet.AppletProps.amh:Lsun/applet/AppletMessageHandler;
ldc "choice.class.item.restricted"
invokevirtual sun.applet.AppletMessageHandler.getMessage:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.awt.Choice.addItem:(Ljava/lang/String;)V
11: aload 0
getfield sun.applet.AppletProps.accessMode:Ljava/awt/Choice;
getstatic sun.applet.AppletProps.amh:Lsun/applet/AppletMessageHandler;
ldc "choice.class.item.unrestricted"
invokevirtual sun.applet.AppletMessageHandler.getMessage:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.awt.Choice.addItem:(Ljava/lang/String;)V
12: aload 0
ldc "Center"
aload 1
invokevirtual sun.applet.AppletProps.add:(Ljava/lang/String;Ljava/awt/Component;)Ljava/awt/Component;
pop
13: new java.awt.Panel
dup
invokespecial java.awt.Panel.<init>:()V
astore 1
14: aload 1
new java.awt.Button
dup
getstatic sun.applet.AppletProps.amh:Lsun/applet/AppletMessageHandler;
ldc "button.apply"
invokevirtual sun.applet.AppletMessageHandler.getMessage:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.awt.Button.<init>:(Ljava/lang/String;)V
invokevirtual java.awt.Panel.add:(Ljava/awt/Component;)Ljava/awt/Component;
pop
15: aload 1
new java.awt.Button
dup
getstatic sun.applet.AppletProps.amh:Lsun/applet/AppletMessageHandler;
ldc "button.reset"
invokevirtual sun.applet.AppletMessageHandler.getMessage:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.awt.Button.<init>:(Ljava/lang/String;)V
invokevirtual java.awt.Panel.add:(Ljava/awt/Component;)Ljava/awt/Component;
pop
16: aload 1
new java.awt.Button
dup
getstatic sun.applet.AppletProps.amh:Lsun/applet/AppletMessageHandler;
ldc "button.cancel"
invokevirtual sun.applet.AppletMessageHandler.getMessage:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.awt.Button.<init>:(Ljava/lang/String;)V
invokevirtual java.awt.Panel.add:(Ljava/awt/Component;)Ljava/awt/Component;
pop
17: aload 0
ldc "South"
aload 1
invokevirtual sun.applet.AppletProps.add:(Ljava/lang/String;Ljava/awt/Component;)Ljava/awt/Component;
pop
18: aload 0
sipush 200
sipush 150
invokevirtual sun.applet.AppletProps.move:(II)V
19: aload 0
invokevirtual sun.applet.AppletProps.pack:()V
20: aload 0
invokevirtual sun.applet.AppletProps.reset:()V
21: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lsun/applet/AppletProps;
3 22 1 p Ljava/awt/Panel;
void reset();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=6, args_size=1
start local 0 0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
checkcast sun.applet.AppletSecurity
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 1
invokevirtual sun.applet.AppletSecurity.reset:()V
3: StackMap locals: sun.applet.AppletSecurity
StackMap stack:
new sun.security.action.GetPropertyAction
dup
ldc "http.proxyHost"
invokespecial sun.security.action.GetPropertyAction.<init>:(Ljava/lang/String;)V
4: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.String
astore 2
start local 2 5: new sun.security.action.GetPropertyAction
dup
ldc "http.proxyPort"
invokespecial sun.security.action.GetPropertyAction.<init>:(Ljava/lang/String;)V
6: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 7: new sun.security.action.GetBooleanAction
dup
ldc "package.restrict.access.sun"
invokespecial sun.security.action.GetBooleanAction.<init>:(Ljava/lang/String;)V
8: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.Boolean
astore 4
start local 4 9: aload 4
invokevirtual java.lang.Boolean.booleanValue:()Z
istore 5
start local 5 10: iload 5
ifeq 13
11: aload 0
getfield sun.applet.AppletProps.accessMode:Ljava/awt/Choice;
getstatic sun.applet.AppletProps.amh:Lsun/applet/AppletMessageHandler;
ldc "choice.class.item.restricted"
invokevirtual sun.applet.AppletMessageHandler.getMessage:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.awt.Choice.select:(Ljava/lang/String;)V
12: goto 14
13: StackMap locals: sun.applet.AppletProps sun.applet.AppletSecurity java.lang.String java.lang.String java.lang.Boolean int
StackMap stack:
aload 0
getfield sun.applet.AppletProps.accessMode:Ljava/awt/Choice;
getstatic sun.applet.AppletProps.amh:Lsun/applet/AppletMessageHandler;
ldc "choice.class.item.unrestricted"
invokevirtual sun.applet.AppletMessageHandler.getMessage:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.awt.Choice.select:(Ljava/lang/String;)V
14: StackMap locals:
StackMap stack:
aload 2
ifnull 18
15: aload 0
getfield sun.applet.AppletProps.proxyHost:Ljava/awt/TextField;
aload 2
invokevirtual java.awt.TextField.setText:(Ljava/lang/String;)V
16: aload 0
getfield sun.applet.AppletProps.proxyPort:Ljava/awt/TextField;
aload 3
invokevirtual java.awt.TextField.setText:(Ljava/lang/String;)V
17: goto 20
18: StackMap locals:
StackMap stack:
aload 0
getfield sun.applet.AppletProps.proxyHost:Ljava/awt/TextField;
ldc ""
invokevirtual java.awt.TextField.setText:(Ljava/lang/String;)V
19: aload 0
getfield sun.applet.AppletProps.proxyPort:Ljava/awt/TextField;
ldc ""
invokevirtual java.awt.TextField.setText:(Ljava/lang/String;)V
20: StackMap locals:
StackMap stack:
return
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 21 0 this Lsun/applet/AppletProps;
1 21 1 security Lsun/applet/AppletSecurity;
5 21 2 proxyhost Ljava/lang/String;
7 21 3 proxyport Ljava/lang/String;
9 21 4 tmp Ljava/lang/Boolean;
10 21 5 packageRestrict Z
void apply();
descriptor: ()V
flags: (0x0000)
Code:
stack=7, locals=5, args_size=1
start local 0 0: aload 0
getfield sun.applet.AppletProps.proxyHost:Ljava/awt/TextField;
invokevirtual java.awt.TextField.getText:()Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 1
start local 1 1: aload 0
getfield sun.applet.AppletProps.proxyPort:Ljava/awt/TextField;
invokevirtual java.awt.TextField.getText:()Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 2
start local 2 2: new sun.applet.AppletProps$1
dup
aload 0
invokespecial sun.applet.AppletProps$1.<init>:(Lsun/applet/AppletProps;)V
3: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.util.Properties
astore 3
start local 3 4: aload 1
invokevirtual java.lang.String.length:()I
ifeq 22
5: iconst_0
istore 4
start local 4 6: aload 2
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
istore 4
7: goto 9
StackMap locals: sun.applet.AppletProps java.lang.String java.lang.String java.util.Properties int
StackMap stack: java.lang.NumberFormatException
8: pop
9: StackMap locals:
StackMap stack:
iload 4
ifgt 19
10: aload 0
getfield sun.applet.AppletProps.proxyPort:Ljava/awt/TextField;
invokevirtual java.awt.TextField.selectAll:()V
11: aload 0
getfield sun.applet.AppletProps.proxyPort:Ljava/awt/TextField;
invokevirtual java.awt.TextField.requestFocus:()V
12: new sun.applet.AppletPropsErrorDialog
dup
aload 0
13: getstatic sun.applet.AppletProps.amh:Lsun/applet/AppletMessageHandler;
ldc "title.invalidproxy"
invokevirtual sun.applet.AppletMessageHandler.getMessage:(Ljava/lang/String;)Ljava/lang/String;
14: getstatic sun.applet.AppletProps.amh:Lsun/applet/AppletMessageHandler;
ldc "label.invalidproxy"
invokevirtual sun.applet.AppletMessageHandler.getMessage:(Ljava/lang/String;)Ljava/lang/String;
15: getstatic sun.applet.AppletProps.amh:Lsun/applet/AppletMessageHandler;
ldc "button.ok"
invokevirtual sun.applet.AppletMessageHandler.getMessage:(Ljava/lang/String;)Ljava/lang/String;
16: invokespecial sun.applet.AppletPropsErrorDialog.<init>:(Ljava/awt/Frame;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
17: invokevirtual sun.applet.AppletPropsErrorDialog.show:()V
18: return
19: StackMap locals:
StackMap stack:
aload 3
ldc "http.proxyHost"
aload 1
invokevirtual java.util.Properties.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
20: aload 3
ldc "http.proxyPort"
aload 2
invokevirtual java.util.Properties.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 4 21: goto 23
22: StackMap locals:
StackMap stack:
aload 3
ldc "http.proxyHost"
ldc ""
invokevirtual java.util.Properties.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
23: StackMap locals:
StackMap stack:
getstatic sun.applet.AppletProps.amh:Lsun/applet/AppletMessageHandler;
ldc "choice.class.item.restricted"
invokevirtual sun.applet.AppletMessageHandler.getMessage:(Ljava/lang/String;)Ljava/lang/String;
aload 0
getfield sun.applet.AppletProps.accessMode:Ljava/awt/Choice;
invokevirtual java.awt.Choice.getSelectedItem:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 26
24: aload 3
ldc "package.restrict.access.sun"
ldc "true"
invokevirtual java.util.Properties.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
25: goto 27
26: StackMap locals:
StackMap stack:
aload 3
ldc "package.restrict.access.sun"
ldc "false"
invokevirtual java.util.Properties.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
27: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.applet.AppletProps.reset:()V
28: new sun.applet.AppletProps$2
dup
aload 0
aload 3
invokespecial sun.applet.AppletProps$2.<init>:(Lsun/applet/AppletProps;Ljava/util/Properties;)V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedExceptionAction;)Ljava/lang/Object;
pop
29: aload 0
invokevirtual sun.applet.AppletProps.hide:()V
30: goto 37
StackMap locals:
StackMap stack: java.security.PrivilegedActionException
31: astore 4
start local 4 32: getstatic java.lang.System.out:Ljava/io/PrintStream;
getstatic sun.applet.AppletProps.amh:Lsun/applet/AppletMessageHandler;
ldc "apply.exception"
33: aload 4
invokevirtual java.security.PrivilegedActionException.getException:()Ljava/lang/Exception;
34: invokevirtual sun.applet.AppletMessageHandler.getMessage:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
35: aload 4
invokevirtual java.security.PrivilegedActionException.printStackTrace:()V
36: aload 0
invokevirtual sun.applet.AppletProps.reset:()V
end local 4 37: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 38 0 this Lsun/applet/AppletProps;
1 38 1 proxyHostValue Ljava/lang/String;
2 38 2 proxyPortValue Ljava/lang/String;
4 38 3 props Ljava/util/Properties;
6 21 4 proxyPortNumber I
32 37 4 e Ljava/security/PrivilegedActionException;
Exception table:
from to target type
6 7 8 Class java.lang.NumberFormatException
27 30 31 Class java.security.PrivilegedActionException
public boolean action(java.awt.Event, java.lang.Object);
descriptor: (Ljava/awt/Event;Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic sun.applet.AppletProps.amh:Lsun/applet/AppletMessageHandler;
ldc "button.apply"
invokevirtual sun.applet.AppletMessageHandler.getMessage:(Ljava/lang/String;)Ljava/lang/String;
aload 2
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 3
1: aload 0
invokevirtual sun.applet.AppletProps.apply:()V
2: iconst_1
ireturn
3: StackMap locals:
StackMap stack:
getstatic sun.applet.AppletProps.amh:Lsun/applet/AppletMessageHandler;
ldc "button.reset"
invokevirtual sun.applet.AppletMessageHandler.getMessage:(Ljava/lang/String;)Ljava/lang/String;
aload 2
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
4: aload 0
invokevirtual sun.applet.AppletProps.reset:()V
5: iconst_1
ireturn
6: StackMap locals:
StackMap stack:
getstatic sun.applet.AppletProps.amh:Lsun/applet/AppletMessageHandler;
ldc "button.cancel"
invokevirtual sun.applet.AppletMessageHandler.getMessage:(Ljava/lang/String;)Ljava/lang/String;
aload 2
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 10
7: aload 0
invokevirtual sun.applet.AppletProps.reset:()V
8: aload 0
invokevirtual sun.applet.AppletProps.hide:()V
9: iconst_1
ireturn
10: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/applet/AppletProps;
0 11 1 evt Ljava/awt/Event;
0 11 2 obj Ljava/lang/Object;
MethodParameters:
Name Flags
evt
obj
}
SourceFile: "AppletProps.java"
NestMembers:
sun.applet.AppletProps$1 sun.applet.AppletProps$2
InnerClasses:
sun.applet.AppletProps$1
sun.applet.AppletProps$2