public class javax.swing.border.TitledBorder extends javax.swing.border.AbstractBorder
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.swing.border.TitledBorder
super_class: javax.swing.border.AbstractBorder
{
protected java.lang.String title;
descriptor: Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
protected javax.swing.border.Border border;
descriptor: Ljavax/swing/border/Border;
flags: (0x0004) ACC_PROTECTED
protected int titlePosition;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected int titleJustification;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected java.awt.Font titleFont;
descriptor: Ljava/awt/Font;
flags: (0x0004) ACC_PROTECTED
protected java.awt.Color titleColor;
descriptor: Ljava/awt/Color;
flags: (0x0004) ACC_PROTECTED
private java.awt.Point textLoc;
descriptor: Ljava/awt/Point;
flags: (0x0002) ACC_PRIVATE
public static final int DEFAULT_POSITION;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 0
public static final int ABOVE_TOP;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
public static final int TOP;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 2
public static final int BELOW_TOP;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 3
public static final int ABOVE_BOTTOM;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 4
public static final int BOTTOM;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 5
public static final int BELOW_BOTTOM;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 6
public static final int DEFAULT_JUSTIFICATION;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 0
public static final int LEFT;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
public static final int CENTER;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 2
public static final int RIGHT;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 3
public static final int LEADING;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 4
public static final int TRAILING;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 5
protected static final int EDGE_SPACING;
descriptor: I
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 2
protected static final int TEXT_SPACING;
descriptor: I
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 2
protected static final int TEXT_INSET_H;
descriptor: I
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 5
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aconst_null
aload 1
iconst_4
iconst_0
aconst_null
aconst_null
invokespecial javax.swing.border.TitledBorder.<init>:(Ljavax/swing/border/Border;Ljava/lang/String;IILjava/awt/Font;Ljava/awt/Color;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/border/TitledBorder;
0 2 1 title Ljava/lang/String;
MethodParameters:
Name Flags
title
public void <init>(javax.swing.border.Border);
descriptor: (Ljavax/swing/border/Border;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
ldc ""
iconst_4
iconst_0
aconst_null
aconst_null
invokespecial javax.swing.border.TitledBorder.<init>:(Ljavax/swing/border/Border;Ljava/lang/String;IILjava/awt/Font;Ljava/awt/Color;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/border/TitledBorder;
0 2 1 border Ljavax/swing/border/Border;
MethodParameters:
Name Flags
border
public void <init>(javax.swing.border.Border, java.lang.String);
descriptor: (Ljavax/swing/border/Border;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
iconst_4
iconst_0
aconst_null
aconst_null
invokespecial javax.swing.border.TitledBorder.<init>:(Ljavax/swing/border/Border;Ljava/lang/String;IILjava/awt/Font;Ljava/awt/Color;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/border/TitledBorder;
0 2 1 border Ljavax/swing/border/Border;
0 2 2 title Ljava/lang/String;
MethodParameters:
Name Flags
border
title
public void <init>(javax.swing.border.Border, java.lang.String, int, int);
descriptor: (Ljavax/swing/border/Border;Ljava/lang/String;II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 2
iload 3
1: iload 4
aconst_null
aconst_null
invokespecial javax.swing.border.TitledBorder.<init>:(Ljavax/swing/border/Border;Ljava/lang/String;IILjava/awt/Font;Ljava/awt/Color;)V
2: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/border/TitledBorder;
0 3 1 border Ljavax/swing/border/Border;
0 3 2 title Ljava/lang/String;
0 3 3 titleJustification I
0 3 4 titlePosition I
MethodParameters:
Name Flags
border
title
titleJustification
titlePosition
public void <init>(javax.swing.border.Border, java.lang.String, int, int, java.awt.Font);
descriptor: (Ljavax/swing/border/Border;Ljava/lang/String;IILjava/awt/Font;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
aload 2
iload 3
1: iload 4
aload 5
aconst_null
invokespecial javax.swing.border.TitledBorder.<init>:(Ljavax/swing/border/Border;Ljava/lang/String;IILjava/awt/Font;Ljava/awt/Color;)V
2: 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 3 0 this Ljavax/swing/border/TitledBorder;
0 3 1 border Ljavax/swing/border/Border;
0 3 2 title Ljava/lang/String;
0 3 3 titleJustification I
0 3 4 titlePosition I
0 3 5 titleFont Ljava/awt/Font;
MethodParameters:
Name Flags
border
title
titleJustification
titlePosition
titleFont
public void <init>(javax.swing.border.Border, java.lang.String, int, int, java.awt.Font, java.awt.Color);
descriptor: (Ljavax/swing/border/Border;Ljava/lang/String;IILjava/awt/Font;Ljava/awt/Color;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=7, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
invokespecial javax.swing.border.AbstractBorder.<init>:()V
1: aload 0
new java.awt.Point
dup
invokespecial java.awt.Point.<init>:()V
putfield javax.swing.border.TitledBorder.textLoc:Ljava/awt/Point;
2: aload 0
aload 2
putfield javax.swing.border.TitledBorder.title:Ljava/lang/String;
3: aload 0
aload 1
putfield javax.swing.border.TitledBorder.border:Ljavax/swing/border/Border;
4: aload 0
aload 5
putfield javax.swing.border.TitledBorder.titleFont:Ljava/awt/Font;
5: aload 0
aload 6
putfield javax.swing.border.TitledBorder.titleColor:Ljava/awt/Color;
6: aload 0
iload 3
invokevirtual javax.swing.border.TitledBorder.setTitleJustification:(I)V
7: aload 0
iload 4
invokevirtual javax.swing.border.TitledBorder.setTitlePosition:(I)V
8: return
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 9 0 this Ljavax/swing/border/TitledBorder;
0 9 1 border Ljavax/swing/border/Border;
0 9 2 title Ljava/lang/String;
0 9 3 titleJustification I
0 9 4 titlePosition I
0 9 5 titleFont Ljava/awt/Font;
0 9 6 titleColor Ljava/awt/Color;
MethodParameters:
Name Flags
border
title
titleJustification
titlePosition
titleFont
titleColor
public void paintBorder(java.awt.Component, java.awt.Graphics, int, int, int, int);
descriptor: (Ljava/awt/Component;Ljava/awt/Graphics;IIII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=23, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
invokevirtual javax.swing.border.TitledBorder.getBorder:()Ljavax/swing/border/Border;
astore 7
start local 7 1: aload 0
invokevirtual javax.swing.border.TitledBorder.getTitle:()Ljava/lang/String;
ifnull 2
aload 0
invokevirtual javax.swing.border.TitledBorder.getTitle:()Ljava/lang/String;
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 5
2: StackMap locals: javax.swing.border.Border
StackMap stack:
aload 7
ifnull 4
3: aload 7
aload 1
aload 2
iload 3
iload 4
iload 5
iload 6
invokeinterface javax.swing.border.Border.paintBorder:(Ljava/awt/Component;Ljava/awt/Graphics;IIII)V
4: StackMap locals:
StackMap stack:
return
5: StackMap locals:
StackMap stack:
new java.awt.Rectangle
dup
iload 3
iconst_2
iadd
iload 4
iconst_2
iadd
6: iload 5
iconst_4
isub
7: iload 6
iconst_4
isub
8: invokespecial java.awt.Rectangle.<init>:(IIII)V
astore 8
start local 8 9: aload 2
invokevirtual java.awt.Graphics.getFont:()Ljava/awt/Font;
astore 9
start local 9 10: aload 2
invokevirtual java.awt.Graphics.getColor:()Ljava/awt/Color;
astore 10
start local 10 11: aload 2
aload 0
aload 1
invokevirtual javax.swing.border.TitledBorder.getFont:(Ljava/awt/Component;)Ljava/awt/Font;
invokevirtual java.awt.Graphics.setFont:(Ljava/awt/Font;)V
12: aload 1
instanceof javax.swing.JComponent
ifeq 13
aload 1
checkcast javax.swing.JComponent
goto 14
StackMap locals: java.awt.Rectangle java.awt.Font java.awt.Color
StackMap stack:
13: aconst_null
StackMap locals:
StackMap stack: javax.swing.JComponent
14: astore 11
start local 11 15: aload 11
aload 2
invokestatic sun.swing.SwingUtilities2.getFontMetrics:(Ljavax/swing/JComponent;Ljava/awt/Graphics;)Ljava/awt/FontMetrics;
astore 12
start local 12 16: aload 12
invokevirtual java.awt.FontMetrics.getHeight:()I
istore 13
start local 13 17: aload 12
invokevirtual java.awt.FontMetrics.getDescent:()I
istore 14
start local 14 18: aload 12
invokevirtual java.awt.FontMetrics.getAscent:()I
istore 15
start local 15 19: aload 11
aload 12
20: aload 0
invokevirtual javax.swing.border.TitledBorder.getTitle:()Ljava/lang/String;
21: invokestatic sun.swing.SwingUtilities2.stringWidth:(Ljavax/swing/JComponent;Ljava/awt/FontMetrics;Ljava/lang/String;)I
istore 17
start local 17 22: aload 7
ifnull 25
23: aload 7
aload 1
invokeinterface javax.swing.border.Border.getBorderInsets:(Ljava/awt/Component;)Ljava/awt/Insets;
astore 18
start local 18 24: goto 26
end local 18 25: StackMap locals: javax.swing.border.TitledBorder java.awt.Component java.awt.Graphics int int int int javax.swing.border.Border java.awt.Rectangle java.awt.Font java.awt.Color javax.swing.JComponent java.awt.FontMetrics int int int top int
StackMap stack:
new java.awt.Insets
dup
iconst_0
iconst_0
iconst_0
iconst_0
invokespecial java.awt.Insets.<init>:(IIII)V
astore 18
start local 18 26: StackMap locals: java.awt.Insets
StackMap stack:
aload 0
invokevirtual javax.swing.border.TitledBorder.getTitlePosition:()I
istore 19
start local 19 27: iload 19
tableswitch { // 0 - 6
0: 37
1: 28
2: 37
3: 44
4: 46
5: 50
6: 55
default: 59
}
28: StackMap locals: int
StackMap stack:
iload 15
iload 14
iadd
iconst_2
29: iconst_4
30: invokestatic java.lang.Math.max:(II)I
31: iconst_2
isub
32: iadd
istore 16
start local 16 33: aload 8
dup
getfield java.awt.Rectangle.y:I
iload 16
iadd
putfield java.awt.Rectangle.y:I
34: aload 8
dup
getfield java.awt.Rectangle.height:I
iload 16
isub
putfield java.awt.Rectangle.height:I
35: aload 0
getfield javax.swing.border.TitledBorder.textLoc:Ljava/awt/Point;
aload 8
getfield java.awt.Rectangle.y:I
iload 14
iconst_2
iadd
isub
putfield java.awt.Point.y:I
36: goto 59
end local 16 37: StackMap locals:
StackMap stack:
iconst_0
iload 15
iconst_2
idiv
iconst_2
iadd
iconst_2
isub
invokestatic java.lang.Math.max:(II)I
istore 16
start local 16 38: aload 8
dup
getfield java.awt.Rectangle.y:I
iload 16
iadd
putfield java.awt.Rectangle.y:I
39: aload 8
dup
getfield java.awt.Rectangle.height:I
iload 16
isub
putfield java.awt.Rectangle.height:I
40: aload 0
getfield javax.swing.border.TitledBorder.textLoc:Ljava/awt/Point;
aload 8
getfield java.awt.Rectangle.y:I
iload 14
isub
41: aload 18
getfield java.awt.Insets.top:I
iload 15
iadd
iload 14
iadd
iconst_2
idiv
iadd
42: putfield java.awt.Point.y:I
43: goto 59
end local 16 44: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.border.TitledBorder.textLoc:Ljava/awt/Point;
aload 8
getfield java.awt.Rectangle.y:I
aload 18
getfield java.awt.Insets.top:I
iadd
iload 15
iadd
iconst_2
iadd
putfield java.awt.Point.y:I
45: goto 59
46: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.border.TitledBorder.textLoc:Ljava/awt/Point;
aload 8
getfield java.awt.Rectangle.y:I
aload 8
getfield java.awt.Rectangle.height:I
iadd
47: aload 18
getfield java.awt.Insets.bottom:I
iload 14
iadd
iconst_2
iadd
isub
48: putfield java.awt.Point.y:I
49: goto 59
50: StackMap locals:
StackMap stack:
aload 8
dup
getfield java.awt.Rectangle.height:I
iload 13
iconst_2
idiv
isub
putfield java.awt.Rectangle.height:I
51: aload 0
getfield javax.swing.border.TitledBorder.textLoc:Ljava/awt/Point;
aload 8
getfield java.awt.Rectangle.y:I
aload 8
getfield java.awt.Rectangle.height:I
iadd
iload 14
isub
52: iload 15
iload 14
iadd
aload 18
getfield java.awt.Insets.bottom:I
isub
iconst_2
idiv
iadd
53: putfield java.awt.Point.y:I
54: goto 59
55: StackMap locals:
StackMap stack:
aload 8
dup
getfield java.awt.Rectangle.height:I
iload 13
isub
putfield java.awt.Rectangle.height:I
56: aload 0
getfield javax.swing.border.TitledBorder.textLoc:Ljava/awt/Point;
aload 8
getfield java.awt.Rectangle.y:I
aload 8
getfield java.awt.Rectangle.height:I
iadd
iload 15
iadd
57: iconst_2
iadd
58: putfield java.awt.Point.y:I
59: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.swing.border.TitledBorder.getTitleJustification:()I
istore 20
start local 20 60: aload 1
invokestatic javax.swing.border.TitledBorder.isLeftToRight:(Ljava/awt/Component;)Z
ifeq 68
61: iload 20
iconst_4
if_icmpeq 63
62: iload 20
ifne 65
63: StackMap locals: int
StackMap stack:
iconst_1
istore 20
64: goto 74
65: StackMap locals:
StackMap stack:
iload 20
iconst_5
if_icmpne 74
66: iconst_3
istore 20
67: goto 74
68: StackMap locals:
StackMap stack:
iload 20
iconst_4
if_icmpeq 70
69: iload 20
ifne 72
70: StackMap locals:
StackMap stack:
iconst_3
istore 20
71: goto 74
72: StackMap locals:
StackMap stack:
iload 20
iconst_5
if_icmpne 74
73: iconst_1
istore 20
74: StackMap locals:
StackMap stack:
iload 20
tableswitch { // 1 - 3
1: 75
2: 81
3: 77
default: 84
}
75: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.border.TitledBorder.textLoc:Ljava/awt/Point;
aload 8
getfield java.awt.Rectangle.x:I
iconst_5
iadd
aload 18
getfield java.awt.Insets.left:I
iadd
putfield java.awt.Point.x:I
76: goto 84
77: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.border.TitledBorder.textLoc:Ljava/awt/Point;
aload 8
getfield java.awt.Rectangle.x:I
aload 8
getfield java.awt.Rectangle.width:I
iadd
78: iload 17
iconst_5
iadd
aload 18
getfield java.awt.Insets.right:I
iadd
isub
79: putfield java.awt.Point.x:I
80: goto 84
81: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.border.TitledBorder.textLoc:Ljava/awt/Point;
aload 8
getfield java.awt.Rectangle.x:I
82: aload 8
getfield java.awt.Rectangle.width:I
iload 17
isub
iconst_2
idiv
iadd
83: putfield java.awt.Point.x:I
84: StackMap locals:
StackMap stack:
aload 7
ifnull 131
85: iload 19
iconst_2
if_icmpeq 86
iload 19
ifne 87
86: StackMap locals:
StackMap stack:
aload 8
getfield java.awt.Rectangle.y:I
aload 0
getfield javax.swing.border.TitledBorder.textLoc:Ljava/awt/Point;
getfield java.awt.Point.y:I
iload 15
isub
if_icmpgt 89
87: StackMap locals:
StackMap stack:
iload 19
iconst_5
if_icmpne 128
88: aload 8
getfield java.awt.Rectangle.y:I
aload 8
getfield java.awt.Rectangle.height:I
iadd
aload 0
getfield javax.swing.border.TitledBorder.textLoc:Ljava/awt/Point;
getfield java.awt.Point.y:I
iload 14
iadd
if_icmpge 128
89: StackMap locals:
StackMap stack:
new java.awt.Rectangle
dup
invokespecial java.awt.Rectangle.<init>:()V
astore 21
start local 21 90: aload 2
invokevirtual java.awt.Graphics.getClipBounds:()Ljava/awt/Rectangle;
astore 22
start local 22 91: aload 21
aload 22
invokevirtual java.awt.Rectangle.setBounds:(Ljava/awt/Rectangle;)V
92: aload 21
iload 3
iload 4
aload 0
getfield javax.swing.border.TitledBorder.textLoc:Ljava/awt/Point;
getfield java.awt.Point.x:I
iconst_1
isub
iload 3
isub
iload 6
invokestatic javax.swing.border.TitledBorder.computeIntersection:(Ljava/awt/Rectangle;IIII)Z
ifeq 97
93: aload 2
aload 21
invokevirtual java.awt.Graphics.setClip:(Ljava/awt/Shape;)V
94: aload 7
aload 1
aload 2
aload 8
getfield java.awt.Rectangle.x:I
aload 8
getfield java.awt.Rectangle.y:I
95: aload 8
getfield java.awt.Rectangle.width:I
aload 8
getfield java.awt.Rectangle.height:I
96: invokeinterface javax.swing.border.Border.paintBorder:(Ljava/awt/Component;Ljava/awt/Graphics;IIII)V
97: StackMap locals: java.awt.Rectangle java.awt.Rectangle
StackMap stack:
aload 21
aload 22
invokevirtual java.awt.Rectangle.setBounds:(Ljava/awt/Rectangle;)V
98: aload 21
aload 0
getfield javax.swing.border.TitledBorder.textLoc:Ljava/awt/Point;
getfield java.awt.Point.x:I
iload 17
iadd
iconst_1
iadd
iload 4
99: iload 3
iload 5
iadd
aload 0
getfield javax.swing.border.TitledBorder.textLoc:Ljava/awt/Point;
getfield java.awt.Point.x:I
iload 17
iadd
iconst_1
iadd
isub
iload 6
100: invokestatic javax.swing.border.TitledBorder.computeIntersection:(Ljava/awt/Rectangle;IIII)Z
101: ifeq 106
102: aload 2
aload 21
invokevirtual java.awt.Graphics.setClip:(Ljava/awt/Shape;)V
103: aload 7
aload 1
aload 2
aload 8
getfield java.awt.Rectangle.x:I
aload 8
getfield java.awt.Rectangle.y:I
104: aload 8
getfield java.awt.Rectangle.width:I
aload 8
getfield java.awt.Rectangle.height:I
105: invokeinterface javax.swing.border.Border.paintBorder:(Ljava/awt/Component;Ljava/awt/Graphics;IIII)V
106: StackMap locals:
StackMap stack:
iload 19
iconst_2
if_icmpeq 107
iload 19
ifne 117
107: StackMap locals:
StackMap stack:
aload 21
aload 22
invokevirtual java.awt.Rectangle.setBounds:(Ljava/awt/Rectangle;)V
108: aload 21
aload 0
getfield javax.swing.border.TitledBorder.textLoc:Ljava/awt/Point;
getfield java.awt.Point.x:I
iconst_1
isub
aload 0
getfield javax.swing.border.TitledBorder.textLoc:Ljava/awt/Point;
getfield java.awt.Point.y:I
iload 14
iadd
109: iload 17
iconst_2
iadd
iload 4
iload 6
iadd
aload 0
getfield javax.swing.border.TitledBorder.textLoc:Ljava/awt/Point;
getfield java.awt.Point.y:I
isub
iload 14
isub
110: invokestatic javax.swing.border.TitledBorder.computeIntersection:(Ljava/awt/Rectangle;IIII)Z
111: ifeq 126
112: aload 2
aload 21
invokevirtual java.awt.Graphics.setClip:(Ljava/awt/Shape;)V
113: aload 7
aload 1
aload 2
aload 8
getfield java.awt.Rectangle.x:I
aload 8
getfield java.awt.Rectangle.y:I
114: aload 8
getfield java.awt.Rectangle.width:I
aload 8
getfield java.awt.Rectangle.height:I
115: invokeinterface javax.swing.border.Border.paintBorder:(Ljava/awt/Component;Ljava/awt/Graphics;IIII)V
116: goto 126
117: StackMap locals:
StackMap stack:
aload 21
aload 22
invokevirtual java.awt.Rectangle.setBounds:(Ljava/awt/Rectangle;)V
118: aload 21
aload 0
getfield javax.swing.border.TitledBorder.textLoc:Ljava/awt/Point;
getfield java.awt.Point.x:I
iconst_1
isub
iload 4
119: iload 17
iconst_2
iadd
aload 0
getfield javax.swing.border.TitledBorder.textLoc:Ljava/awt/Point;
getfield java.awt.Point.y:I
iload 15
isub
iload 4
isub
120: invokestatic javax.swing.border.TitledBorder.computeIntersection:(Ljava/awt/Rectangle;IIII)Z
121: ifeq 126
122: aload 2
aload 21
invokevirtual java.awt.Graphics.setClip:(Ljava/awt/Shape;)V
123: aload 7
aload 1
aload 2
aload 8
getfield java.awt.Rectangle.x:I
aload 8
getfield java.awt.Rectangle.y:I
124: aload 8
getfield java.awt.Rectangle.width:I
aload 8
getfield java.awt.Rectangle.height:I
125: invokeinterface javax.swing.border.Border.paintBorder:(Ljava/awt/Component;Ljava/awt/Graphics;IIII)V
126: StackMap locals:
StackMap stack:
aload 2
aload 22
invokevirtual java.awt.Graphics.setClip:(Ljava/awt/Shape;)V
end local 22 end local 21 127: goto 131
128: StackMap locals:
StackMap stack:
aload 7
aload 1
aload 2
aload 8
getfield java.awt.Rectangle.x:I
aload 8
getfield java.awt.Rectangle.y:I
129: aload 8
getfield java.awt.Rectangle.width:I
aload 8
getfield java.awt.Rectangle.height:I
130: invokeinterface javax.swing.border.Border.paintBorder:(Ljava/awt/Component;Ljava/awt/Graphics;IIII)V
131: StackMap locals:
StackMap stack:
aload 2
aload 0
invokevirtual javax.swing.border.TitledBorder.getTitleColor:()Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
132: aload 11
aload 2
aload 0
invokevirtual javax.swing.border.TitledBorder.getTitle:()Ljava/lang/String;
aload 0
getfield javax.swing.border.TitledBorder.textLoc:Ljava/awt/Point;
getfield java.awt.Point.x:I
aload 0
getfield javax.swing.border.TitledBorder.textLoc:Ljava/awt/Point;
getfield java.awt.Point.y:I
invokestatic sun.swing.SwingUtilities2.drawString:(Ljavax/swing/JComponent;Ljava/awt/Graphics;Ljava/lang/String;II)V
133: aload 2
aload 9
invokevirtual java.awt.Graphics.setFont:(Ljava/awt/Font;)V
134: aload 2
aload 10
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
135: return
end local 20 end local 19 end local 18 end local 17 end local 15 end local 14 end local 13 end local 12 end local 11 end local 10 end local 9 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 136 0 this Ljavax/swing/border/TitledBorder;
0 136 1 c Ljava/awt/Component;
0 136 2 g Ljava/awt/Graphics;
0 136 3 x I
0 136 4 y I
0 136 5 width I
0 136 6 height I
1 136 7 border Ljavax/swing/border/Border;
9 136 8 grooveRect Ljava/awt/Rectangle;
10 136 9 font Ljava/awt/Font;
11 136 10 color Ljava/awt/Color;
15 136 11 jc Ljavax/swing/JComponent;
16 136 12 fm Ljava/awt/FontMetrics;
17 136 13 fontHeight I
18 136 14 descent I
19 136 15 ascent I
33 37 16 diff I
38 44 16 diff I
22 136 17 stringWidth I
24 25 18 insets Ljava/awt/Insets;
26 136 18 insets Ljava/awt/Insets;
27 136 19 titlePos I
60 136 20 justification I
90 127 21 clipRect Ljava/awt/Rectangle;
91 127 22 saveClip Ljava/awt/Rectangle;
MethodParameters:
Name Flags
c
g
x
y
width
height
public java.awt.Insets getBorderInsets(java.awt.Component);
descriptor: (Ljava/awt/Component;)Ljava/awt/Insets;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
new java.awt.Insets
dup
iconst_0
iconst_0
iconst_0
iconst_0
invokespecial java.awt.Insets.<init>:(IIII)V
invokevirtual javax.swing.border.TitledBorder.getBorderInsets:(Ljava/awt/Component;Ljava/awt/Insets;)Ljava/awt/Insets;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/border/TitledBorder;
0 1 1 c Ljava/awt/Component;
MethodParameters:
Name Flags
c
public java.awt.Insets getBorderInsets(java.awt.Component, java.awt.Insets);
descriptor: (Ljava/awt/Component;Ljava/awt/Insets;)Ljava/awt/Insets;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=9, args_size=3
start local 0 start local 1 start local 2 0: iconst_0
istore 4
start local 4 1: bipush 16
istore 5
start local 5 2: bipush 16
istore 6
start local 6 3: aload 0
invokevirtual javax.swing.border.TitledBorder.getBorder:()Ljavax/swing/border/Border;
astore 7
start local 7 4: aload 7
ifnull 14
5: aload 7
instanceof javax.swing.border.AbstractBorder
ifeq 8
6: aload 7
checkcast javax.swing.border.AbstractBorder
aload 1
aload 2
invokevirtual javax.swing.border.AbstractBorder.getBorderInsets:(Ljava/awt/Component;Ljava/awt/Insets;)Ljava/awt/Insets;
pop
7: goto 15
8: StackMap locals: javax.swing.border.TitledBorder java.awt.Component java.awt.Insets top int int int javax.swing.border.Border
StackMap stack:
aload 7
aload 1
invokeinterface javax.swing.border.Border.getBorderInsets:(Ljava/awt/Component;)Ljava/awt/Insets;
astore 8
start local 8 9: aload 2
aload 8
getfield java.awt.Insets.top:I
putfield java.awt.Insets.top:I
10: aload 2
aload 8
getfield java.awt.Insets.right:I
putfield java.awt.Insets.right:I
11: aload 2
aload 8
getfield java.awt.Insets.bottom:I
putfield java.awt.Insets.bottom:I
12: aload 2
aload 8
getfield java.awt.Insets.left:I
putfield java.awt.Insets.left:I
end local 8 13: goto 15
14: StackMap locals:
StackMap stack:
aload 2
aload 2
aload 2
aload 2
iconst_0
dup_x1
putfield java.awt.Insets.bottom:I
dup_x1
putfield java.awt.Insets.right:I
dup_x1
putfield java.awt.Insets.top:I
putfield java.awt.Insets.left:I
15: StackMap locals:
StackMap stack:
aload 2
dup
getfield java.awt.Insets.left:I
iconst_4
iadd
putfield java.awt.Insets.left:I
16: aload 2
dup
getfield java.awt.Insets.right:I
iconst_4
iadd
putfield java.awt.Insets.right:I
17: aload 2
dup
getfield java.awt.Insets.top:I
iconst_4
iadd
putfield java.awt.Insets.top:I
18: aload 2
dup
getfield java.awt.Insets.bottom:I
iconst_4
iadd
putfield java.awt.Insets.bottom:I
19: aload 1
ifnull 20
aload 0
invokevirtual javax.swing.border.TitledBorder.getTitle:()Ljava/lang/String;
ifnull 20
aload 0
invokevirtual javax.swing.border.TitledBorder.getTitle:()Ljava/lang/String;
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 21
20: StackMap locals:
StackMap stack:
aload 2
areturn
21: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual javax.swing.border.TitledBorder.getFont:(Ljava/awt/Component;)Ljava/awt/Font;
astore 8
start local 8 22: aload 1
aload 8
invokevirtual java.awt.Component.getFontMetrics:(Ljava/awt/Font;)Ljava/awt/FontMetrics;
astore 3
start local 3 23: aload 3
ifnull 27
24: aload 3
invokevirtual java.awt.FontMetrics.getDescent:()I
istore 4
25: aload 3
invokevirtual java.awt.FontMetrics.getAscent:()I
istore 5
26: aload 3
invokevirtual java.awt.FontMetrics.getHeight:()I
istore 6
27: StackMap locals: javax.swing.border.TitledBorder java.awt.Component java.awt.Insets java.awt.FontMetrics int int int javax.swing.border.Border java.awt.Font
StackMap stack:
aload 0
invokevirtual javax.swing.border.TitledBorder.getTitlePosition:()I
tableswitch { // 0 - 6
0: 34
1: 28
2: 34
3: 36
4: 38
5: 40
6: 42
default: 43
}
28: StackMap locals:
StackMap stack:
aload 2
dup
getfield java.awt.Insets.top:I
iload 5
iload 4
iadd
29: iconst_2
iconst_4
invokestatic java.lang.Math.max:(II)I
30: iconst_2
31: isub
32: iadd
iadd
putfield java.awt.Insets.top:I
33: goto 43
34: StackMap locals:
StackMap stack:
aload 2
dup
getfield java.awt.Insets.top:I
iload 5
iload 4
iadd
iadd
putfield java.awt.Insets.top:I
35: goto 43
36: StackMap locals:
StackMap stack:
aload 2
dup
getfield java.awt.Insets.top:I
iload 5
iload 4
iadd
iconst_2
iadd
iadd
putfield java.awt.Insets.top:I
37: goto 43
38: StackMap locals:
StackMap stack:
aload 2
dup
getfield java.awt.Insets.bottom:I
iload 5
iload 4
iadd
iconst_2
iadd
iadd
putfield java.awt.Insets.bottom:I
39: goto 43
40: StackMap locals:
StackMap stack:
aload 2
dup
getfield java.awt.Insets.bottom:I
iload 5
iload 4
iadd
iadd
putfield java.awt.Insets.bottom:I
41: goto 43
42: StackMap locals:
StackMap stack:
aload 2
dup
getfield java.awt.Insets.bottom:I
iload 6
iadd
putfield java.awt.Insets.bottom:I
43: StackMap locals:
StackMap stack:
aload 2
areturn
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 44 0 this Ljavax/swing/border/TitledBorder;
0 44 1 c Ljava/awt/Component;
0 44 2 insets Ljava/awt/Insets;
23 44 3 fm Ljava/awt/FontMetrics;
1 44 4 descent I
2 44 5 ascent I
3 44 6 height I
4 44 7 border Ljavax/swing/border/Border;
9 13 8 i Ljava/awt/Insets;
22 44 8 font Ljava/awt/Font;
MethodParameters:
Name Flags
c
insets
public boolean isBorderOpaque();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/border/TitledBorder;
public java.lang.String getTitle();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.border.TitledBorder.title:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/border/TitledBorder;
public javax.swing.border.Border getBorder();
descriptor: ()Ljavax/swing/border/Border;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
getfield javax.swing.border.TitledBorder.border:Ljavax/swing/border/Border;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: ldc "TitledBorder.border"
invokestatic javax.swing.UIManager.getBorder:(Ljava/lang/Object;)Ljavax/swing/border/Border;
astore 1
3: StackMap locals: javax.swing.border.Border
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/border/TitledBorder;
1 4 1 b Ljavax/swing/border/Border;
public int getTitlePosition();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield javax.swing.border.TitledBorder.titlePosition:I
ifne 20
1: ldc "TitledBorder.position"
invokestatic javax.swing.UIManager.get:(Ljava/lang/Object;)Ljava/lang/Object;
astore 1
start local 1 2: aload 1
instanceof java.lang.String
ifeq 16
3: aload 1
checkcast java.lang.String
astore 2
start local 2 4: ldc "ABOVE_TOP"
aload 2
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 6
5: iconst_1
ireturn
6: StackMap locals: java.lang.Object java.lang.String
StackMap stack:
ldc "TOP"
aload 2
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 8
7: iconst_2
ireturn
8: StackMap locals:
StackMap stack:
ldc "BELOW_TOP"
aload 2
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 10
9: iconst_3
ireturn
10: StackMap locals:
StackMap stack:
ldc "ABOVE_BOTTOM"
aload 2
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 12
11: iconst_4
ireturn
12: StackMap locals:
StackMap stack:
ldc "BOTTOM"
aload 2
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 14
13: iconst_5
ireturn
14: StackMap locals:
StackMap stack:
ldc "BELOW_BOTTOM"
aload 2
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 20
15: bipush 6
ireturn
end local 2 16: StackMap locals:
StackMap stack:
aload 1
instanceof java.lang.Integer
ifeq 20
17: aload 1
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
istore 2
start local 2 18: iload 2
iflt 20
iload 2
bipush 6
if_icmpgt 20
19: iload 2
ireturn
end local 2 end local 1 20: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.border.TitledBorder.titlePosition:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Ljavax/swing/border/TitledBorder;
2 20 1 value Ljava/lang/Object;
4 16 2 s Ljava/lang/String;
18 20 2 i I
public int getTitleJustification();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.border.TitledBorder.titleJustification:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/border/TitledBorder;
public java.awt.Font getTitleFont();
descriptor: ()Ljava/awt/Font;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
getfield javax.swing.border.TitledBorder.titleFont:Ljava/awt/Font;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: ldc "TitledBorder.font"
invokestatic javax.swing.UIManager.getFont:(Ljava/lang/Object;)Ljava/awt/Font;
astore 1
3: StackMap locals: java.awt.Font
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/border/TitledBorder;
1 4 1 f Ljava/awt/Font;
public java.awt.Color getTitleColor();
descriptor: ()Ljava/awt/Color;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
getfield javax.swing.border.TitledBorder.titleColor:Ljava/awt/Color;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: ldc "TitledBorder.titleColor"
invokestatic javax.swing.UIManager.getColor:(Ljava/lang/Object;)Ljava/awt/Color;
astore 1
3: StackMap locals: java.awt.Color
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/border/TitledBorder;
1 4 1 c Ljava/awt/Color;
public void setTitle(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield javax.swing.border.TitledBorder.title:Ljava/lang/String;
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/border/TitledBorder;
0 1 1 title Ljava/lang/String;
MethodParameters:
Name Flags
title
public void setBorder(javax.swing.border.Border);
descriptor: (Ljavax/swing/border/Border;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield javax.swing.border.TitledBorder.border:Ljavax/swing/border/Border;
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/border/TitledBorder;
0 1 1 border Ljavax/swing/border/Border;
MethodParameters:
Name Flags
border
public void setTitlePosition(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: iload 1
tableswitch { // 0 - 6
0: 1
1: 1
2: 1
3: 1
4: 1
5: 1
6: 1
default: 3
}
1: StackMap locals:
StackMap stack:
aload 0
iload 1
putfield javax.swing.border.TitledBorder.titlePosition:I
2: goto 6
3: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
iload 1
invokestatic java.lang.String.valueOf:(I)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
4: ldc " is not a valid title position."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
5: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/swing/border/TitledBorder;
0 7 1 titlePosition I
MethodParameters:
Name Flags
titlePosition
public void setTitleJustification(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: iload 1
tableswitch { // 0 - 5
0: 1
1: 1
2: 1
3: 1
4: 1
5: 1
default: 3
}
1: StackMap locals:
StackMap stack:
aload 0
iload 1
putfield javax.swing.border.TitledBorder.titleJustification:I
2: goto 6
3: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
iload 1
invokestatic java.lang.String.valueOf:(I)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
4: ldc " is not a valid title justification."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
5: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/swing/border/TitledBorder;
0 7 1 titleJustification I
MethodParameters:
Name Flags
titleJustification
public void setTitleFont(java.awt.Font);
descriptor: (Ljava/awt/Font;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield javax.swing.border.TitledBorder.titleFont:Ljava/awt/Font;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/border/TitledBorder;
0 2 1 titleFont Ljava/awt/Font;
MethodParameters:
Name Flags
titleFont
public void setTitleColor(java.awt.Color);
descriptor: (Ljava/awt/Color;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield javax.swing.border.TitledBorder.titleColor:Ljava/awt/Color;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/border/TitledBorder;
0 2 1 titleColor Ljava/awt/Color;
MethodParameters:
Name Flags
titleColor
public java.awt.Dimension getMinimumSize(java.awt.Component);
descriptor: (Ljava/awt/Component;)Ljava/awt/Dimension;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual javax.swing.border.TitledBorder.getBorderInsets:(Ljava/awt/Component;)Ljava/awt/Insets;
astore 2
start local 2 1: new java.awt.Dimension
dup
aload 2
getfield java.awt.Insets.right:I
aload 2
getfield java.awt.Insets.left:I
iadd
2: aload 2
getfield java.awt.Insets.top:I
aload 2
getfield java.awt.Insets.bottom:I
iadd
3: invokespecial java.awt.Dimension.<init>:(II)V
astore 3
start local 3 4: aload 0
aload 1
invokevirtual javax.swing.border.TitledBorder.getFont:(Ljava/awt/Component;)Ljava/awt/Font;
astore 4
start local 4 5: aload 1
aload 4
invokevirtual java.awt.Component.getFontMetrics:(Ljava/awt/Font;)Ljava/awt/FontMetrics;
astore 5
start local 5 6: aload 1
instanceof javax.swing.JComponent
ifeq 7
aload 1
checkcast javax.swing.JComponent
goto 8
StackMap locals: javax.swing.border.TitledBorder java.awt.Component java.awt.Insets java.awt.Dimension java.awt.Font java.awt.FontMetrics
StackMap stack:
7: aconst_null
StackMap locals:
StackMap stack: javax.swing.JComponent
8: astore 6
start local 6 9: aload 0
invokevirtual javax.swing.border.TitledBorder.getTitlePosition:()I
tableswitch { // 0 - 6
0: 16
1: 10
2: 16
3: 16
4: 16
5: 16
6: 10
default: 16
}
10: StackMap locals: javax.swing.JComponent
StackMap stack:
aload 3
aload 6
aload 5
11: aload 0
invokevirtual javax.swing.border.TitledBorder.getTitle:()Ljava/lang/String;
12: invokestatic sun.swing.SwingUtilities2.stringWidth:(Ljavax/swing/JComponent;Ljava/awt/FontMetrics;Ljava/lang/String;)I
13: aload 3
getfield java.awt.Dimension.width:I
14: invokestatic java.lang.Math.max:(II)I
putfield java.awt.Dimension.width:I
15: goto 17
16: StackMap locals:
StackMap stack:
aload 3
dup
getfield java.awt.Dimension.width:I
aload 6
aload 5
aload 0
invokevirtual javax.swing.border.TitledBorder.getTitle:()Ljava/lang/String;
invokestatic sun.swing.SwingUtilities2.stringWidth:(Ljavax/swing/JComponent;Ljava/awt/FontMetrics;Ljava/lang/String;)I
iadd
putfield java.awt.Dimension.width:I
17: StackMap locals:
StackMap stack:
aload 3
areturn
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 18 0 this Ljavax/swing/border/TitledBorder;
0 18 1 c Ljava/awt/Component;
1 18 2 insets Ljava/awt/Insets;
4 18 3 minSize Ljava/awt/Dimension;
5 18 4 font Ljava/awt/Font;
6 18 5 fm Ljava/awt/FontMetrics;
9 18 6 jc Ljavax/swing/JComponent;
MethodParameters:
Name Flags
c
public int getBaseline(java.awt.Component, int, int);
descriptor: (Ljava/awt/Component;II)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=15, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
ifnonnull 2
1: new java.lang.NullPointerException
dup
ldc "Must supply non-null component"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
iload 3
ifge 4
3: new java.lang.IllegalArgumentException
dup
ldc "Height must be >= 0"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.swing.border.TitledBorder.getTitle:()Ljava/lang/String;
astore 4
start local 4 5: aload 4
ifnull 41
ldc ""
aload 4
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 41
6: aload 0
aload 1
invokevirtual javax.swing.border.TitledBorder.getFont:(Ljava/awt/Component;)Ljava/awt/Font;
astore 5
start local 5 7: aload 0
invokevirtual javax.swing.border.TitledBorder.getBorder:()Ljavax/swing/border/Border;
astore 6
start local 6 8: aload 6
ifnull 11
9: aload 6
aload 1
invokeinterface javax.swing.border.Border.getBorderInsets:(Ljava/awt/Component;)Ljava/awt/Insets;
astore 7
start local 7 10: goto 12
end local 7 11: StackMap locals: java.lang.String java.awt.Font javax.swing.border.Border
StackMap stack:
new java.awt.Insets
dup
iconst_0
iconst_0
iconst_0
iconst_0
invokespecial java.awt.Insets.<init>:(IIII)V
astore 7
start local 7 12: StackMap locals: java.awt.Insets
StackMap stack:
aload 1
aload 5
invokevirtual java.awt.Component.getFontMetrics:(Ljava/awt/Font;)Ljava/awt/FontMetrics;
astore 8
start local 8 13: aload 8
invokevirtual java.awt.FontMetrics.getHeight:()I
istore 9
start local 9 14: aload 8
invokevirtual java.awt.FontMetrics.getDescent:()I
istore 10
start local 10 15: aload 8
invokevirtual java.awt.FontMetrics.getAscent:()I
istore 11
start local 11 16: iconst_2
istore 12
start local 12 17: iload 3
iconst_4
isub
istore 13
start local 13 18: aload 0
invokevirtual javax.swing.border.TitledBorder.getTitlePosition:()I
tableswitch { // 0 - 6
0: 25
1: 19
2: 25
3: 31
4: 32
5: 35
6: 39
default: 41
}
19: StackMap locals: javax.swing.border.TitledBorder java.awt.Component int int java.lang.String java.awt.Font javax.swing.border.Border java.awt.Insets java.awt.FontMetrics int int int int int
StackMap stack:
iload 11
iload 10
iadd
iconst_2
20: iconst_4
21: invokestatic java.lang.Math.max:(II)I
22: iconst_2
isub
23: iadd
istore 14
start local 14 24: iload 12
iload 14
iadd
iload 10
iconst_2
iadd
isub
ireturn
end local 14 25: StackMap locals:
StackMap stack:
iconst_0
iload 11
iconst_2
idiv
iconst_2
iadd
26: iconst_2
isub
27: invokestatic java.lang.Math.max:(II)I
istore 14
start local 14 28: iload 12
iload 14
iadd
iload 10
isub
29: aload 7
getfield java.awt.Insets.top:I
iload 11
iadd
iload 10
iadd
iconst_2
idiv
30: iadd
ireturn
end local 14 31: StackMap locals:
StackMap stack:
iload 12
aload 7
getfield java.awt.Insets.top:I
iadd
iload 11
iadd
iconst_2
iadd
ireturn
32: StackMap locals:
StackMap stack:
iload 12
iload 13
iadd
aload 7
getfield java.awt.Insets.bottom:I
iload 10
iadd
33: iconst_2
iadd
34: isub
ireturn
35: StackMap locals:
StackMap stack:
iload 13
iload 9
iconst_2
idiv
isub
istore 13
36: iload 12
iload 13
iadd
iload 10
isub
37: iload 11
iload 10
iadd
aload 7
getfield java.awt.Insets.bottom:I
isub
iconst_2
idiv
38: iadd
ireturn
39: StackMap locals:
StackMap stack:
iload 13
iload 9
isub
istore 13
40: iload 12
iload 13
iadd
iload 11
iadd
iconst_2
iadd
ireturn
end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 41: StackMap locals: javax.swing.border.TitledBorder java.awt.Component int int java.lang.String
StackMap stack:
iconst_m1
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 42 0 this Ljavax/swing/border/TitledBorder;
0 42 1 c Ljava/awt/Component;
0 42 2 width I
0 42 3 height I
5 42 4 title Ljava/lang/String;
7 41 5 font Ljava/awt/Font;
8 41 6 border2 Ljavax/swing/border/Border;
10 11 7 borderInsets Ljava/awt/Insets;
12 41 7 borderInsets Ljava/awt/Insets;
13 41 8 fm Ljava/awt/FontMetrics;
14 41 9 fontHeight I
15 41 10 descent I
16 41 11 ascent I
17 41 12 y I
18 41 13 h I
24 25 14 diff I
28 31 14 diff I
MethodParameters:
Name Flags
c
width
height
public java.awt.Component$BaselineResizeBehavior getBaselineResizeBehavior(java.awt.Component);
descriptor: (Ljava/awt/Component;)Ljava/awt/Component$BaselineResizeBehavior;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial javax.swing.border.AbstractBorder.getBaselineResizeBehavior:(Ljava/awt/Component;)Ljava/awt/Component$BaselineResizeBehavior;
pop
1: aload 0
invokevirtual javax.swing.border.TitledBorder.getTitlePosition:()I
tableswitch { // 0 - 6
0: 2
1: 2
2: 2
3: 2
4: 3
5: 3
6: 3
default: 4
}
2: StackMap locals:
StackMap stack:
getstatic java.awt.Component$BaselineResizeBehavior.CONSTANT_ASCENT:Ljava/awt/Component$BaselineResizeBehavior;
areturn
3: StackMap locals:
StackMap stack:
getstatic java.awt.Component$BaselineResizeBehavior.CONSTANT_DESCENT:Ljava/awt/Component$BaselineResizeBehavior;
areturn
4: StackMap locals:
StackMap stack:
getstatic java.awt.Component$BaselineResizeBehavior.OTHER:Ljava/awt/Component$BaselineResizeBehavior;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/border/TitledBorder;
0 5 1 c Ljava/awt/Component;
MethodParameters:
Name Flags
c
protected java.awt.Font getFont(java.awt.Component);
descriptor: (Ljava/awt/Component;)Ljava/awt/Font;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.border.TitledBorder.getTitleFont:()Ljava/awt/Font;
dup
astore 2
start local 2 1: ifnull 3
2: aload 2
areturn
3: StackMap locals: java.awt.Font
StackMap stack:
aload 1
ifnull 5
aload 1
invokevirtual java.awt.Component.getFont:()Ljava/awt/Font;
dup
astore 2
ifnull 5
4: aload 2
areturn
5: StackMap locals:
StackMap stack:
new java.awt.Font
dup
ldc "Dialog"
iconst_0
bipush 12
invokespecial java.awt.Font.<init>:(Ljava/lang/String;II)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/swing/border/TitledBorder;
0 6 1 c Ljava/awt/Component;
1 6 2 font Ljava/awt/Font;
MethodParameters:
Name Flags
c
private static boolean computeIntersection(java.awt.Rectangle, int, int, int, int);
descriptor: (Ljava/awt/Rectangle;IIII)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=9, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: iload 1
aload 0
getfield java.awt.Rectangle.x:I
invokestatic java.lang.Math.max:(II)I
istore 5
start local 5 1: iload 1
iload 3
iadd
aload 0
getfield java.awt.Rectangle.x:I
aload 0
getfield java.awt.Rectangle.width:I
iadd
invokestatic java.lang.Math.min:(II)I
istore 6
start local 6 2: iload 2
aload 0
getfield java.awt.Rectangle.y:I
invokestatic java.lang.Math.max:(II)I
istore 7
start local 7 3: iload 2
iload 4
iadd
aload 0
getfield java.awt.Rectangle.y:I
aload 0
getfield java.awt.Rectangle.height:I
iadd
invokestatic java.lang.Math.min:(II)I
istore 8
start local 8 4: aload 0
iload 5
putfield java.awt.Rectangle.x:I
5: aload 0
iload 7
putfield java.awt.Rectangle.y:I
6: aload 0
iload 6
iload 5
isub
putfield java.awt.Rectangle.width:I
7: aload 0
iload 8
iload 7
isub
putfield java.awt.Rectangle.height:I
8: aload 0
getfield java.awt.Rectangle.width:I
ifle 9
aload 0
getfield java.awt.Rectangle.height:I
ifgt 10
9: StackMap locals: java.awt.Rectangle int int int int int int int int
StackMap stack:
iconst_0
ireturn
10: StackMap locals:
StackMap stack:
iconst_1
ireturn
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 11 0 dest Ljava/awt/Rectangle;
0 11 1 rx I
0 11 2 ry I
0 11 3 rw I
0 11 4 rh I
1 11 5 x1 I
2 11 6 x2 I
3 11 7 y1 I
4 11 8 y2 I
MethodParameters:
Name Flags
dest
rx
ry
rw
rh
}
SourceFile: "TitledBorder.java"
InnerClasses:
public final BaselineResizeBehavior = java.awt.Component$BaselineResizeBehavior of java.awt.Component