public class javax.swing.plaf.basic.BasicOptionPaneUI$ButtonAreaLayout implements java.awt.LayoutManager
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.swing.plaf.basic.BasicOptionPaneUI$ButtonAreaLayout
super_class: java.lang.Object
{
protected boolean syncAllWidths;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
protected int padding;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected boolean centersChildren;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
private int orientation;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private boolean reverseButtons;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean useOrientation;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
public void <init>(boolean, int);
descriptor: (ZI)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 // javax.swing.plaf.basic.BasicOptionPaneUI$ButtonAreaLayout this
start local 1 // boolean syncAllWidths
start local 2 // int padding
0: .line 1045
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 1046
aload 0 /* this */
iload 1 /* syncAllWidths */
putfield javax.swing.plaf.basic.BasicOptionPaneUI$ButtonAreaLayout.syncAllWidths:Z
2: .line 1047
aload 0 /* this */
iload 2 /* padding */
putfield javax.swing.plaf.basic.BasicOptionPaneUI$ButtonAreaLayout.padding:I
3: .line 1048
aload 0 /* this */
iconst_1
putfield javax.swing.plaf.basic.BasicOptionPaneUI$ButtonAreaLayout.centersChildren:Z
4: .line 1049
aload 0 /* this */
iconst_0
putfield javax.swing.plaf.basic.BasicOptionPaneUI$ButtonAreaLayout.useOrientation:Z
5: .line 1050
return
end local 2 // int padding
end local 1 // boolean syncAllWidths
end local 0 // javax.swing.plaf.basic.BasicOptionPaneUI$ButtonAreaLayout this
LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/swing/plaf/basic/BasicOptionPaneUI$ButtonAreaLayout;
0 6 1 syncAllWidths Z
0 6 2 padding I
MethodParameters:
Name Flags
syncAllWidths
padding
void <init>(boolean, int, int, boolean);
descriptor: (ZIIZ)V
flags: (0x0000)
Code:
stack=3, locals=5, args_size=5
start local 0 // javax.swing.plaf.basic.BasicOptionPaneUI$ButtonAreaLayout this
start local 1 // boolean syncAllSizes
start local 2 // int padding
start local 3 // int orientation
start local 4 // boolean reverseButtons
0: .line 1054
aload 0 /* this */
iload 1 /* syncAllSizes */
iload 2 /* padding */
invokespecial javax.swing.plaf.basic.BasicOptionPaneUI$ButtonAreaLayout.<init>:(ZI)V
1: .line 1055
aload 0 /* this */
iconst_1
putfield javax.swing.plaf.basic.BasicOptionPaneUI$ButtonAreaLayout.useOrientation:Z
2: .line 1056
aload 0 /* this */
iload 3 /* orientation */
putfield javax.swing.plaf.basic.BasicOptionPaneUI$ButtonAreaLayout.orientation:I
3: .line 1057
aload 0 /* this */
iload 4 /* reverseButtons */
putfield javax.swing.plaf.basic.BasicOptionPaneUI$ButtonAreaLayout.reverseButtons:Z
4: .line 1058
return
end local 4 // boolean reverseButtons
end local 3 // int orientation
end local 2 // int padding
end local 1 // boolean syncAllSizes
end local 0 // javax.swing.plaf.basic.BasicOptionPaneUI$ButtonAreaLayout this
LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/plaf/basic/BasicOptionPaneUI$ButtonAreaLayout;
0 5 1 syncAllSizes Z
0 5 2 padding I
0 5 3 orientation I
0 5 4 reverseButtons Z
MethodParameters:
Name Flags
syncAllSizes
padding
orientation
reverseButtons
public void setSyncAllWidths(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 // javax.swing.plaf.basic.BasicOptionPaneUI$ButtonAreaLayout this
start local 1 // boolean newValue
0: .line 1066
aload 0 /* this */
iload 1 /* newValue */
putfield javax.swing.plaf.basic.BasicOptionPaneUI$ButtonAreaLayout.syncAllWidths:Z
1: .line 1067
return
end local 1 // boolean newValue
end local 0 // javax.swing.plaf.basic.BasicOptionPaneUI$ButtonAreaLayout this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/plaf/basic/BasicOptionPaneUI$ButtonAreaLayout;
0 2 1 newValue Z
MethodParameters:
Name Flags
newValue
public boolean getSyncAllWidths();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 // javax.swing.plaf.basic.BasicOptionPaneUI$ButtonAreaLayout this
0: .line 1075
aload 0 /* this */
getfield javax.swing.plaf.basic.BasicOptionPaneUI$ButtonAreaLayout.syncAllWidths:Z
ireturn
end local 0 // javax.swing.plaf.basic.BasicOptionPaneUI$ButtonAreaLayout this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/basic/BasicOptionPaneUI$ButtonAreaLayout;
public void setPadding(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 // javax.swing.plaf.basic.BasicOptionPaneUI$ButtonAreaLayout this
start local 1 // int newPadding
0: .line 1084
aload 0 /* this */
iload 1 /* newPadding */
putfield javax.swing.plaf.basic.BasicOptionPaneUI$ButtonAreaLayout.padding:I
1: .line 1085
return
end local 1 // int newPadding
end local 0 // javax.swing.plaf.basic.BasicOptionPaneUI$ButtonAreaLayout this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/plaf/basic/BasicOptionPaneUI$ButtonAreaLayout;
0 2 1 newPadding I
MethodParameters:
Name Flags
newPadding
public int getPadding();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 // javax.swing.plaf.basic.BasicOptionPaneUI$ButtonAreaLayout this
0: .line 1093
aload 0 /* this */
getfield javax.swing.plaf.basic.BasicOptionPaneUI$ButtonAreaLayout.padding:I
ireturn
end local 0 // javax.swing.plaf.basic.BasicOptionPaneUI$ButtonAreaLayout this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/basic/BasicOptionPaneUI$ButtonAreaLayout;
public void setCentersChildren(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 // javax.swing.plaf.basic.BasicOptionPaneUI$ButtonAreaLayout this
start local 1 // boolean newValue
0: .line 1102
aload 0 /* this */
iload 1 /* newValue */
putfield javax.swing.plaf.basic.BasicOptionPaneUI$ButtonAreaLayout.centersChildren:Z
1: .line 1103
aload 0 /* this */
iconst_0
putfield javax.swing.plaf.basic.BasicOptionPaneUI$ButtonAreaLayout.useOrientation:Z
2: .line 1104
return
end local 1 // boolean newValue
end local 0 // javax.swing.plaf.basic.BasicOptionPaneUI$ButtonAreaLayout this
LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/plaf/basic/BasicOptionPaneUI$ButtonAreaLayout;
0 3 1 newValue Z
MethodParameters:
Name Flags
newValue
public boolean getCentersChildren();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 // javax.swing.plaf.basic.BasicOptionPaneUI$ButtonAreaLayout this
0: .line 1112
aload 0 /* this */
getfield javax.swing.plaf.basic.BasicOptionPaneUI$ButtonAreaLayout.centersChildren:Z
ireturn
end local 0 // javax.swing.plaf.basic.BasicOptionPaneUI$ButtonAreaLayout this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/basic/BasicOptionPaneUI$ButtonAreaLayout;
private int getOrientation(java.awt.Container);
descriptor: (Ljava/awt/Container;)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=2, args_size=2
start local 0 // javax.swing.plaf.basic.BasicOptionPaneUI$ButtonAreaLayout this
start local 1 // java.awt.Container container
0: .line 1116
aload 0 /* this */
getfield javax.swing.plaf.basic.BasicOptionPaneUI$ButtonAreaLayout.useOrientation:Z
ifne 2
1: .line 1117
iconst_0
ireturn
2: .line 1119
StackMap locals:
StackMap stack:
aload 1 /* container */
invokevirtual java.awt.Container.getComponentOrientation:()Ljava/awt/ComponentOrientation;
invokevirtual java.awt.ComponentOrientation.isLeftToRight:()Z
ifeq 4
3: .line 1120
aload 0 /* this */
getfield javax.swing.plaf.basic.BasicOptionPaneUI$ButtonAreaLayout.orientation:I
ireturn
4: .line 1122
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield javax.swing.plaf.basic.BasicOptionPaneUI$ButtonAreaLayout.orientation:I
tableswitch { // 0 - 4
0: 7
1: 8
2: 5
3: 8
4: 6
default: 8
}
5: .line 1124
StackMap locals:
StackMap stack:
iconst_4
ireturn
6: .line 1126
StackMap locals:
StackMap stack:
iconst_2
ireturn
7: .line 1128
StackMap locals:
StackMap stack:
iconst_0
ireturn
8: .line 1130
StackMap locals:
StackMap stack:
iconst_2
ireturn
end local 1 // java.awt.Container container
end local 0 // javax.swing.plaf.basic.BasicOptionPaneUI$ButtonAreaLayout this
LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljavax/swing/plaf/basic/BasicOptionPaneUI$ButtonAreaLayout;
0 9 1 container Ljava/awt/Container;
MethodParameters:
Name Flags
container
public void addLayoutComponent(java.lang.String, java.awt.Component);
descriptor: (Ljava/lang/String;Ljava/awt/Component;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=3, args_size=3
start local 0 // javax.swing.plaf.basic.BasicOptionPaneUI$ButtonAreaLayout this
start local 1 // java.lang.String string
start local 2 // java.awt.Component comp
0: .line 1134
return
end local 2 // java.awt.Component comp
end local 1 // java.lang.String string
end local 0 // javax.swing.plaf.basic.BasicOptionPaneUI$ButtonAreaLayout this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/basic/BasicOptionPaneUI$ButtonAreaLayout;
0 1 1 string Ljava/lang/String;
0 1 2 comp Ljava/awt/Component;
MethodParameters:
Name Flags
string
comp
public void layoutContainer(java.awt.Container);
descriptor: (Ljava/awt/Container;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=15, args_size=2
start local 0 // javax.swing.plaf.basic.BasicOptionPaneUI$ButtonAreaLayout this
start local 1 // java.awt.Container container
0: .line 1137
aload 1 /* container */
invokevirtual java.awt.Container.getComponents:()[Ljava/awt/Component;
astore 2 /* children */
start local 2 // java.awt.Component[] children
1: .line 1139
aload 2 /* children */
ifnull 74
aload 2 /* children */
arraylength
ifle 74
2: .line 1140
aload 2 /* children */
arraylength
istore 3 /* numChildren */
start local 3 // int numChildren
3: .line 1141
aload 1 /* container */
invokevirtual java.awt.Container.getInsets:()Ljava/awt/Insets;
astore 4 /* insets */
start local 4 // java.awt.Insets insets
4: .line 1142
iconst_0
istore 5 /* maxWidth */
start local 5 // int maxWidth
5: .line 1143
iconst_0
istore 6 /* maxHeight */
start local 6 // int maxHeight
6: .line 1144
iconst_0
istore 7 /* totalButtonWidth */
start local 7 // int totalButtonWidth
7: .line 1145
iconst_0
istore 8 /* x */
start local 8 // int x
8: .line 1146
iconst_0
istore 9 /* xOffset */
start local 9 // int xOffset
9: .line 1147
aload 1 /* container */
invokevirtual java.awt.Container.getComponentOrientation:()Ljava/awt/ComponentOrientation;
10: .line 1148
invokevirtual java.awt.ComponentOrientation.isLeftToRight:()Z
11: .line 1147
istore 10 /* ltr */
start local 10 // boolean ltr
12: .line 1149
iload 10 /* ltr */
ifeq 13
aload 0 /* this */
getfield javax.swing.plaf.basic.BasicOptionPaneUI$ButtonAreaLayout.reverseButtons:Z
goto 15
StackMap locals: javax.swing.plaf.basic.BasicOptionPaneUI$ButtonAreaLayout java.awt.Container java.awt.Component[] int java.awt.Insets int int int int int int
StackMap stack:
13: aload 0 /* this */
getfield javax.swing.plaf.basic.BasicOptionPaneUI$ButtonAreaLayout.reverseButtons:Z
ifeq 14
iconst_0
goto 15
StackMap locals:
StackMap stack:
14: iconst_1
StackMap locals:
StackMap stack: int
15: istore 11 /* reverse */
start local 11 // boolean reverse
16: .line 1151
iconst_0
istore 12 /* counter */
start local 12 // int counter
17: goto 23
18: .line 1152
StackMap locals: int int
StackMap stack:
aload 2 /* children */
iload 12 /* counter */
aaload
invokevirtual java.awt.Component.getPreferredSize:()Ljava/awt/Dimension;
astore 13 /* pref */
start local 13 // java.awt.Dimension pref
19: .line 1153
iload 5 /* maxWidth */
aload 13 /* pref */
getfield java.awt.Dimension.width:I
invokestatic java.lang.Math.max:(II)I
istore 5 /* maxWidth */
20: .line 1154
iload 6 /* maxHeight */
aload 13 /* pref */
getfield java.awt.Dimension.height:I
invokestatic java.lang.Math.max:(II)I
istore 6 /* maxHeight */
21: .line 1155
iload 7 /* totalButtonWidth */
aload 13 /* pref */
getfield java.awt.Dimension.width:I
iadd
istore 7 /* totalButtonWidth */
end local 13 // java.awt.Dimension pref
22: .line 1151
iinc 12 /* counter */ 1
StackMap locals:
StackMap stack:
23: iload 12 /* counter */
iload 3 /* numChildren */
if_icmplt 18
end local 12 // int counter
24: .line 1157
aload 0 /* this */
invokevirtual javax.swing.plaf.basic.BasicOptionPaneUI$ButtonAreaLayout.getSyncAllWidths:()Z
ifeq 26
25: .line 1158
iload 5 /* maxWidth */
iload 3 /* numChildren */
imul
istore 7 /* totalButtonWidth */
26: .line 1160
StackMap locals:
StackMap stack:
iload 7 /* totalButtonWidth */
iload 3 /* numChildren */
iconst_1
isub
aload 0 /* this */
getfield javax.swing.plaf.basic.BasicOptionPaneUI$ButtonAreaLayout.padding:I
imul
iadd
istore 7 /* totalButtonWidth */
27: .line 1162
aload 0 /* this */
aload 1 /* container */
invokevirtual javax.swing.plaf.basic.BasicOptionPaneUI$ButtonAreaLayout.getOrientation:(Ljava/awt/Container;)I
tableswitch { // 0 - 4
0: 32
1: 54
2: 28
3: 54
4: 30
default: 54
}
28: .line 1164
StackMap locals:
StackMap stack:
aload 4 /* insets */
getfield java.awt.Insets.left:I
istore 8 /* x */
29: .line 1165
goto 54
30: .line 1167
StackMap locals:
StackMap stack:
aload 1 /* container */
invokevirtual java.awt.Container.getWidth:()I
aload 4 /* insets */
getfield java.awt.Insets.right:I
isub
iload 7 /* totalButtonWidth */
isub
istore 8 /* x */
31: .line 1168
goto 54
32: .line 1170
StackMap locals:
StackMap stack:
aload 0 /* this */
invokevirtual javax.swing.plaf.basic.BasicOptionPaneUI$ButtonAreaLayout.getCentersChildren:()Z
ifne 33
iload 3 /* numChildren */
iconst_2
if_icmpge 35
33: .line 1171
StackMap locals:
StackMap stack:
aload 1 /* container */
invokevirtual java.awt.Container.getWidth:()I
iload 7 /* totalButtonWidth */
isub
iconst_2
idiv
istore 8 /* x */
34: .line 1172
goto 54
35: .line 1174
StackMap locals:
StackMap stack:
aload 4 /* insets */
getfield java.awt.Insets.left:I
istore 8 /* x */
36: .line 1175
aload 0 /* this */
invokevirtual javax.swing.plaf.basic.BasicOptionPaneUI$ButtonAreaLayout.getSyncAllWidths:()Z
ifeq 47
37: .line 1176
aload 1 /* container */
invokevirtual java.awt.Container.getWidth:()I
aload 4 /* insets */
getfield java.awt.Insets.left:I
isub
38: .line 1177
aload 4 /* insets */
getfield java.awt.Insets.right:I
39: .line 1176
isub
40: .line 1177
iload 7 /* totalButtonWidth */
41: .line 1176
isub
42: .line 1178
iload 3 /* numChildren */
iconst_1
isub
43: .line 1176
idiv
44: .line 1178
iload 5 /* maxWidth */
45: .line 1176
iadd
istore 9 /* xOffset */
46: .line 1179
goto 54
47: .line 1181
StackMap locals:
StackMap stack:
aload 1 /* container */
invokevirtual java.awt.Container.getWidth:()I
aload 4 /* insets */
getfield java.awt.Insets.left:I
isub
48: .line 1182
aload 4 /* insets */
getfield java.awt.Insets.right:I
49: .line 1181
isub
50: .line 1182
iload 7 /* totalButtonWidth */
51: .line 1181
isub
52: .line 1183
iload 3 /* numChildren */
iconst_1
isub
53: .line 1181
idiv
istore 9 /* xOffset */
54: .line 1189
StackMap locals:
StackMap stack:
iconst_0
istore 12 /* counter */
start local 12 // int counter
55: goto 73
56: .line 1190
StackMap locals: int
StackMap stack:
iload 11 /* reverse */
ifeq 57
iload 3 /* numChildren */
iload 12 /* counter */
isub
iconst_1
isub
goto 58
57: .line 1191
StackMap locals:
StackMap stack:
iload 12 /* counter */
58: .line 1190
StackMap locals:
StackMap stack: int
istore 13 /* index */
start local 13 // int index
59: .line 1192
aload 2 /* children */
iload 13 /* index */
aaload
invokevirtual java.awt.Component.getPreferredSize:()Ljava/awt/Dimension;
astore 14 /* pref */
start local 14 // java.awt.Dimension pref
60: .line 1194
aload 0 /* this */
invokevirtual javax.swing.plaf.basic.BasicOptionPaneUI$ButtonAreaLayout.getSyncAllWidths:()Z
ifeq 65
61: .line 1195
aload 2 /* children */
iload 13 /* index */
aaload
iload 8 /* x */
aload 4 /* insets */
getfield java.awt.Insets.top:I
62: .line 1196
iload 5 /* maxWidth */
iload 6 /* maxHeight */
63: .line 1195
invokevirtual java.awt.Component.setBounds:(IIII)V
64: .line 1197
goto 68
65: .line 1199
StackMap locals: int java.awt.Dimension
StackMap stack:
aload 2 /* children */
iload 13 /* index */
aaload
iload 8 /* x */
aload 4 /* insets */
getfield java.awt.Insets.top:I
aload 14 /* pref */
getfield java.awt.Dimension.width:I
66: .line 1200
aload 14 /* pref */
getfield java.awt.Dimension.height:I
67: .line 1199
invokevirtual java.awt.Component.setBounds:(IIII)V
68: .line 1202
StackMap locals:
StackMap stack:
iload 9 /* xOffset */
ifeq 71
69: .line 1203
iload 8 /* x */
iload 9 /* xOffset */
iadd
istore 8 /* x */
70: .line 1204
goto 72
71: .line 1206
StackMap locals:
StackMap stack:
iload 8 /* x */
aload 2 /* children */
iload 13 /* index */
aaload
invokevirtual java.awt.Component.getWidth:()I
aload 0 /* this */
getfield javax.swing.plaf.basic.BasicOptionPaneUI$ButtonAreaLayout.padding:I
iadd
iadd
istore 8 /* x */
end local 14 // java.awt.Dimension pref
end local 13 // int index
72: .line 1189
StackMap locals:
StackMap stack:
iinc 12 /* counter */ 1
StackMap locals:
StackMap stack:
73: iload 12 /* counter */
iload 3 /* numChildren */
if_icmplt 56
end local 12 // int counter
end local 11 // boolean reverse
end local 10 // boolean ltr
end local 9 // int xOffset
end local 8 // int x
end local 7 // int totalButtonWidth
end local 6 // int maxHeight
end local 5 // int maxWidth
end local 4 // java.awt.Insets insets
end local 3 // int numChildren
74: .line 1210
StackMap locals: javax.swing.plaf.basic.BasicOptionPaneUI$ButtonAreaLayout java.awt.Container java.awt.Component[]
StackMap stack:
return
end local 2 // java.awt.Component[] children
end local 1 // java.awt.Container container
end local 0 // javax.swing.plaf.basic.BasicOptionPaneUI$ButtonAreaLayout this
LocalVariableTable:
Start End Slot Name Signature
0 75 0 this Ljavax/swing/plaf/basic/BasicOptionPaneUI$ButtonAreaLayout;
0 75 1 container Ljava/awt/Container;
1 75 2 children [Ljava/awt/Component;
3 74 3 numChildren I
4 74 4 insets Ljava/awt/Insets;
5 74 5 maxWidth I
6 74 6 maxHeight I
7 74 7 totalButtonWidth I
8 74 8 x I
9 74 9 xOffset I
12 74 10 ltr Z
16 74 11 reverse Z
17 24 12 counter I
19 22 13 pref Ljava/awt/Dimension;
55 74 12 counter I
59 72 13 index I
60 72 14 pref Ljava/awt/Dimension;
MethodParameters:
Name Flags
container
public java.awt.Dimension minimumLayoutSize(java.awt.Container);
descriptor: (Ljava/awt/Container;)Ljava/awt/Dimension;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=11, args_size=2
start local 0 // javax.swing.plaf.basic.BasicOptionPaneUI$ButtonAreaLayout this
start local 1 // java.awt.Container c
0: .line 1213
aload 1 /* c */
ifnull 31
1: .line 1214
aload 1 /* c */
invokevirtual java.awt.Container.getComponents:()[Ljava/awt/Component;
astore 2 /* children */
start local 2 // java.awt.Component[] children
2: .line 1216
aload 2 /* children */
ifnull 31
aload 2 /* children */
arraylength
ifle 31
3: .line 1218
aload 2 /* children */
arraylength
istore 4 /* numChildren */
start local 4 // int numChildren
4: .line 1219
iconst_0
istore 5 /* height */
start local 5 // int height
5: .line 1220
aload 1 /* c */
invokevirtual java.awt.Container.getInsets:()Ljava/awt/Insets;
astore 6 /* cInsets */
start local 6 // java.awt.Insets cInsets
6: .line 1221
aload 6 /* cInsets */
getfield java.awt.Insets.top:I
aload 6 /* cInsets */
getfield java.awt.Insets.bottom:I
iadd
istore 7 /* extraHeight */
start local 7 // int extraHeight
7: .line 1222
aload 6 /* cInsets */
getfield java.awt.Insets.left:I
aload 6 /* cInsets */
getfield java.awt.Insets.right:I
iadd
istore 8 /* extraWidth */
start local 8 // int extraWidth
8: .line 1224
aload 0 /* this */
getfield javax.swing.plaf.basic.BasicOptionPaneUI$ButtonAreaLayout.syncAllWidths:Z
ifeq 21
9: .line 1225
iconst_0
istore 9 /* maxWidth */
start local 9 // int maxWidth
10: .line 1227
iconst_0
istore 10 /* counter */
start local 10 // int counter
11: goto 16
12: .line 1228
StackMap locals: javax.swing.plaf.basic.BasicOptionPaneUI$ButtonAreaLayout java.awt.Container java.awt.Component[] top int int java.awt.Insets int int int int
StackMap stack:
aload 2 /* children */
iload 10 /* counter */
aaload
invokevirtual java.awt.Component.getPreferredSize:()Ljava/awt/Dimension;
astore 3 /* aSize */
start local 3 // java.awt.Dimension aSize
13: .line 1229
iload 5 /* height */
aload 3 /* aSize */
getfield java.awt.Dimension.height:I
invokestatic java.lang.Math.max:(II)I
istore 5 /* height */
14: .line 1230
iload 9 /* maxWidth */
aload 3 /* aSize */
getfield java.awt.Dimension.width:I
invokestatic java.lang.Math.max:(II)I
istore 9 /* maxWidth */
15: .line 1227
iinc 10 /* counter */ 1
end local 3 // java.awt.Dimension aSize
StackMap locals:
StackMap stack:
16: iload 10 /* counter */
iload 4 /* numChildren */
if_icmplt 12
end local 10 // int counter
17: .line 1232
new java.awt.Dimension
dup
iload 8 /* extraWidth */
iload 9 /* maxWidth */
iload 4 /* numChildren */
imul
iadd
18: .line 1233
iload 4 /* numChildren */
iconst_1
isub
aload 0 /* this */
getfield javax.swing.plaf.basic.BasicOptionPaneUI$ButtonAreaLayout.padding:I
imul
iadd
19: .line 1234
iload 7 /* extraHeight */
iload 5 /* height */
iadd
20: .line 1232
invokespecial java.awt.Dimension.<init>:(II)V
areturn
end local 9 // int maxWidth
21: .line 1237
StackMap locals:
StackMap stack:
iconst_0
istore 9 /* totalWidth */
start local 9 // int totalWidth
22: .line 1239
iconst_0
istore 10 /* counter */
start local 10 // int counter
23: goto 28
24: .line 1240
StackMap locals: int int
StackMap stack:
aload 2 /* children */
iload 10 /* counter */
aaload
invokevirtual java.awt.Component.getPreferredSize:()Ljava/awt/Dimension;
astore 3 /* aSize */
start local 3 // java.awt.Dimension aSize
25: .line 1241
iload 5 /* height */
aload 3 /* aSize */
getfield java.awt.Dimension.height:I
invokestatic java.lang.Math.max:(II)I
istore 5 /* height */
26: .line 1242
iload 9 /* totalWidth */
aload 3 /* aSize */
getfield java.awt.Dimension.width:I
iadd
istore 9 /* totalWidth */
27: .line 1239
iinc 10 /* counter */ 1
end local 3 // java.awt.Dimension aSize
StackMap locals:
StackMap stack:
28: iload 10 /* counter */
iload 4 /* numChildren */
if_icmplt 24
end local 10 // int counter
29: .line 1244
iload 9 /* totalWidth */
iload 4 /* numChildren */
iconst_1
isub
aload 0 /* this */
getfield javax.swing.plaf.basic.BasicOptionPaneUI$ButtonAreaLayout.padding:I
imul
iadd
istore 9 /* totalWidth */
30: .line 1245
new java.awt.Dimension
dup
iload 8 /* extraWidth */
iload 9 /* totalWidth */
iadd
iload 7 /* extraHeight */
iload 5 /* height */
iadd
invokespecial java.awt.Dimension.<init>:(II)V
areturn
end local 9 // int totalWidth
end local 8 // int extraWidth
end local 7 // int extraHeight
end local 6 // java.awt.Insets cInsets
end local 5 // int height
end local 4 // int numChildren
end local 2 // java.awt.Component[] children
31: .line 1249
StackMap locals: javax.swing.plaf.basic.BasicOptionPaneUI$ButtonAreaLayout java.awt.Container
StackMap stack:
new java.awt.Dimension
dup
iconst_0
iconst_0
invokespecial java.awt.Dimension.<init>:(II)V
areturn
end local 1 // java.awt.Container c
end local 0 // javax.swing.plaf.basic.BasicOptionPaneUI$ButtonAreaLayout this
LocalVariableTable:
Start End Slot Name Signature
0 32 0 this Ljavax/swing/plaf/basic/BasicOptionPaneUI$ButtonAreaLayout;
0 32 1 c Ljava/awt/Container;
2 31 2 children [Ljava/awt/Component;
13 16 3 aSize Ljava/awt/Dimension;
25 28 3 aSize Ljava/awt/Dimension;
4 31 4 numChildren I
5 31 5 height I
6 31 6 cInsets Ljava/awt/Insets;
7 31 7 extraHeight I
8 31 8 extraWidth I
10 21 9 maxWidth I
11 17 10 counter I
22 31 9 totalWidth I
23 29 10 counter I
MethodParameters:
Name Flags
c
public java.awt.Dimension preferredLayoutSize(java.awt.Container);
descriptor: (Ljava/awt/Container;)Ljava/awt/Dimension;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 // javax.swing.plaf.basic.BasicOptionPaneUI$ButtonAreaLayout this
start local 1 // java.awt.Container c
0: .line 1253
aload 0 /* this */
aload 1 /* c */
invokevirtual javax.swing.plaf.basic.BasicOptionPaneUI$ButtonAreaLayout.minimumLayoutSize:(Ljava/awt/Container;)Ljava/awt/Dimension;
areturn
end local 1 // java.awt.Container c
end local 0 // javax.swing.plaf.basic.BasicOptionPaneUI$ButtonAreaLayout this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/basic/BasicOptionPaneUI$ButtonAreaLayout;
0 1 1 c Ljava/awt/Container;
MethodParameters:
Name Flags
c
public void removeLayoutComponent(java.awt.Component);
descriptor: (Ljava/awt/Component;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 // javax.swing.plaf.basic.BasicOptionPaneUI$ButtonAreaLayout this
start local 1 // java.awt.Component c
0: .line 1256
return
end local 1 // java.awt.Component c
end local 0 // javax.swing.plaf.basic.BasicOptionPaneUI$ButtonAreaLayout this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/basic/BasicOptionPaneUI$ButtonAreaLayout;
0 1 1 c Ljava/awt/Component;
MethodParameters:
Name Flags
c
}
SourceFile: "BasicOptionPaneUI.java"
NestHost: javax.swing.plaf.basic.BasicOptionPaneUI
InnerClasses:
public ButtonAreaLayout = javax.swing.plaf.basic.BasicOptionPaneUI$ButtonAreaLayout of javax.swing.plaf.basic.BasicOptionPaneUI