class javax.swing.colorchooser.DefaultPreviewPanel extends javax.swing.JPanel
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.swing.colorchooser.DefaultPreviewPanel
super_class: javax.swing.JPanel
{
private int squareSize;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int squareGap;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int innerGap;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int textGap;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private java.awt.Font font;
descriptor: Ljava/awt/Font;
flags: (0x0002) ACC_PRIVATE
private java.lang.String sampleText;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private int swatchWidth;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private java.awt.Color oldColor;
descriptor: Ljava/awt/Color;
flags: (0x0002) ACC_PRIVATE
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=6, locals=1, args_size=1
start local 0 0: aload 0
invokespecial javax.swing.JPanel.<init>:()V
1: aload 0
bipush 25
putfield javax.swing.colorchooser.DefaultPreviewPanel.squareSize:I
2: aload 0
iconst_5
putfield javax.swing.colorchooser.DefaultPreviewPanel.squareGap:I
3: aload 0
iconst_5
putfield javax.swing.colorchooser.DefaultPreviewPanel.innerGap:I
4: aload 0
iconst_5
putfield javax.swing.colorchooser.DefaultPreviewPanel.textGap:I
5: aload 0
new java.awt.Font
dup
ldc "Dialog"
iconst_0
bipush 12
invokespecial java.awt.Font.<init>:(Ljava/lang/String;II)V
putfield javax.swing.colorchooser.DefaultPreviewPanel.font:Ljava/awt/Font;
6: aload 0
bipush 50
putfield javax.swing.colorchooser.DefaultPreviewPanel.swatchWidth:I
7: aload 0
aconst_null
putfield javax.swing.colorchooser.DefaultPreviewPanel.oldColor:Ljava/awt/Color;
8: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljavax/swing/colorchooser/DefaultPreviewPanel;
private javax.swing.JColorChooser getColorChooser();
descriptor: ()Ljavax/swing/JColorChooser;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: ldc Ljavax/swing/JColorChooser;
aload 0
1: invokestatic javax.swing.SwingUtilities.getAncestorOfClass:(Ljava/lang/Class;Ljava/awt/Component;)Ljava/awt/Container;
checkcast javax.swing.JColorChooser
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/colorchooser/DefaultPreviewPanel;
public java.awt.Dimension getPreferredSize();
descriptor: ()Ljava/awt/Dimension;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.colorchooser.DefaultPreviewPanel.getColorChooser:()Ljavax/swing/JColorChooser;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: aload 0
astore 1
3: StackMap locals: javax.swing.JComponent
StackMap stack:
aload 1
aload 0
invokevirtual javax.swing.colorchooser.DefaultPreviewPanel.getFont:()Ljava/awt/Font;
invokevirtual javax.swing.JComponent.getFontMetrics:(Ljava/awt/Font;)Ljava/awt/FontMetrics;
astore 2
start local 2 4: aload 2
invokevirtual java.awt.FontMetrics.getAscent:()I
pop
5: aload 2
invokevirtual java.awt.FontMetrics.getHeight:()I
istore 3
start local 3 6: aload 1
aload 2
aload 0
invokevirtual javax.swing.colorchooser.DefaultPreviewPanel.getSampleText:()Ljava/lang/String;
invokestatic sun.swing.SwingUtilities2.stringWidth:(Ljavax/swing/JComponent;Ljava/awt/FontMetrics;Ljava/lang/String;)I
istore 4
start local 4 7: iload 3
iconst_3
imul
aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.textGap:I
iconst_3
imul
iadd
istore 5
start local 5 8: aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.squareSize:I
iconst_3
imul
aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.squareGap:I
iconst_2
imul
iadd
aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.swatchWidth:I
iadd
iload 4
iadd
aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.textGap:I
iconst_3
imul
iadd
istore 6
start local 6 9: new java.awt.Dimension
dup
iload 6
iload 5
invokespecial java.awt.Dimension.<init>:(II)V
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 10 0 this Ljavax/swing/colorchooser/DefaultPreviewPanel;
1 10 1 host Ljavax/swing/JComponent;
4 10 2 fm Ljava/awt/FontMetrics;
6 10 3 height I
7 10 4 width I
8 10 5 y I
9 10 6 x I
public void paintComponent(java.awt.Graphics);
descriptor: (Ljava/awt/Graphics;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.oldColor:Ljava/awt/Color;
ifnonnull 2
1: aload 0
aload 0
invokevirtual javax.swing.colorchooser.DefaultPreviewPanel.getForeground:()Ljava/awt/Color;
putfield javax.swing.colorchooser.DefaultPreviewPanel.oldColor:Ljava/awt/Color;
2: StackMap locals:
StackMap stack:
aload 1
aload 0
invokevirtual javax.swing.colorchooser.DefaultPreviewPanel.getBackground:()Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
3: aload 1
iconst_0
iconst_0
aload 0
invokevirtual javax.swing.colorchooser.DefaultPreviewPanel.getWidth:()I
aload 0
invokevirtual javax.swing.colorchooser.DefaultPreviewPanel.getHeight:()I
invokevirtual java.awt.Graphics.fillRect:(IIII)V
4: aload 0
invokevirtual javax.swing.colorchooser.DefaultPreviewPanel.getComponentOrientation:()Ljava/awt/ComponentOrientation;
invokevirtual java.awt.ComponentOrientation.isLeftToRight:()Z
ifeq 9
5: aload 0
aload 1
iconst_0
invokevirtual javax.swing.colorchooser.DefaultPreviewPanel.paintSquares:(Ljava/awt/Graphics;I)I
istore 2
start local 2 6: aload 0
aload 1
iload 2
invokevirtual javax.swing.colorchooser.DefaultPreviewPanel.paintText:(Ljava/awt/Graphics;I)I
istore 3
start local 3 7: aload 0
aload 1
iload 2
iload 3
iadd
invokevirtual javax.swing.colorchooser.DefaultPreviewPanel.paintSwatch:(Ljava/awt/Graphics;I)I
pop
end local 3 end local 2 8: goto 12
9: StackMap locals:
StackMap stack:
aload 0
aload 1
iconst_0
invokevirtual javax.swing.colorchooser.DefaultPreviewPanel.paintSwatch:(Ljava/awt/Graphics;I)I
istore 2
start local 2 10: aload 0
aload 1
iload 2
invokevirtual javax.swing.colorchooser.DefaultPreviewPanel.paintText:(Ljava/awt/Graphics;I)I
istore 3
start local 3 11: aload 0
aload 1
iload 2
iload 3
iadd
invokevirtual javax.swing.colorchooser.DefaultPreviewPanel.paintSquares:(Ljava/awt/Graphics;I)I
pop
end local 3 end local 2 12: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljavax/swing/colorchooser/DefaultPreviewPanel;
0 13 1 g Ljava/awt/Graphics;
6 8 2 squareWidth I
7 8 3 textWidth I
10 12 2 swatchWidth I
11 12 3 textWidth I
MethodParameters:
Name Flags
g
private int paintSwatch(java.awt.Graphics, int);
descriptor: (Ljava/awt/Graphics;I)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=4, args_size=3
start local 0 start local 1 start local 2 0: iload 2
istore 3
start local 3 1: aload 1
aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.oldColor:Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
2: aload 1
iload 3
iconst_0
aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.swatchWidth:I
aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.squareSize:I
aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.squareGap:I
iconst_2
idiv
iadd
invokevirtual java.awt.Graphics.fillRect:(IIII)V
3: aload 1
aload 0
invokevirtual javax.swing.colorchooser.DefaultPreviewPanel.getForeground:()Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
4: aload 1
iload 3
aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.squareSize:I
aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.squareGap:I
iconst_2
idiv
iadd
aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.swatchWidth:I
aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.squareSize:I
aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.squareGap:I
iconst_2
idiv
iadd
invokevirtual java.awt.Graphics.fillRect:(IIII)V
5: iload 3
aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.swatchWidth:I
iadd
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/swing/colorchooser/DefaultPreviewPanel;
0 6 1 g Ljava/awt/Graphics;
0 6 2 offsetX I
1 6 3 swatchX I
MethodParameters:
Name Flags
g
offsetX
private int paintText(java.awt.Graphics, int);
descriptor: (Ljava/awt/Graphics;I)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=10, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 0
invokevirtual javax.swing.colorchooser.DefaultPreviewPanel.getFont:()Ljava/awt/Font;
invokevirtual java.awt.Graphics.setFont:(Ljava/awt/Font;)V
1: aload 0
invokevirtual javax.swing.colorchooser.DefaultPreviewPanel.getColorChooser:()Ljavax/swing/JColorChooser;
astore 3
start local 3 2: aload 3
ifnonnull 4
3: aload 0
astore 3
4: StackMap locals: javax.swing.JComponent
StackMap stack:
aload 3
aload 1
invokestatic sun.swing.SwingUtilities2.getFontMetrics:(Ljavax/swing/JComponent;Ljava/awt/Graphics;)Ljava/awt/FontMetrics;
astore 4
start local 4 5: aload 4
invokevirtual java.awt.FontMetrics.getAscent:()I
istore 5
start local 5 6: aload 4
invokevirtual java.awt.FontMetrics.getHeight:()I
istore 6
start local 6 7: aload 3
aload 4
aload 0
invokevirtual javax.swing.colorchooser.DefaultPreviewPanel.getSampleText:()Ljava/lang/String;
invokestatic sun.swing.SwingUtilities2.stringWidth:(Ljavax/swing/JComponent;Ljava/awt/FontMetrics;Ljava/lang/String;)I
istore 7
start local 7 8: iload 2
aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.textGap:I
iadd
istore 8
start local 8 9: aload 0
invokevirtual javax.swing.colorchooser.DefaultPreviewPanel.getForeground:()Ljava/awt/Color;
astore 9
start local 9 10: aload 1
aload 9
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
11: aload 3
aload 1
aload 0
invokevirtual javax.swing.colorchooser.DefaultPreviewPanel.getSampleText:()Ljava/lang/String;
iload 8
aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.textGap:I
iconst_2
idiv
iadd
12: iload 5
iconst_2
iadd
13: invokestatic sun.swing.SwingUtilities2.drawString:(Ljavax/swing/JComponent;Ljava/awt/Graphics;Ljava/lang/String;II)V
14: aload 1
iload 8
15: iload 6
aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.textGap:I
iadd
16: iload 7
aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.textGap:I
iadd
17: iload 6
iconst_2
iadd
18: invokevirtual java.awt.Graphics.fillRect:(IIII)V
19: aload 1
getstatic java.awt.Color.black:Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
20: aload 3
aload 1
aload 0
invokevirtual javax.swing.colorchooser.DefaultPreviewPanel.getSampleText:()Ljava/lang/String;
21: iload 8
aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.textGap:I
iconst_2
idiv
iadd
22: iload 6
iload 5
iadd
aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.textGap:I
iadd
iconst_2
iadd
23: invokestatic sun.swing.SwingUtilities2.drawString:(Ljavax/swing/JComponent;Ljava/awt/Graphics;Ljava/lang/String;II)V
24: aload 1
getstatic java.awt.Color.white:Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
25: aload 1
iload 8
26: iload 6
aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.textGap:I
iadd
iconst_2
imul
27: iload 7
aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.textGap:I
iadd
28: iload 6
iconst_2
iadd
29: invokevirtual java.awt.Graphics.fillRect:(IIII)V
30: aload 1
aload 9
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
31: aload 3
aload 1
aload 0
invokevirtual javax.swing.colorchooser.DefaultPreviewPanel.getSampleText:()Ljava/lang/String;
32: iload 8
aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.textGap:I
iconst_2
idiv
iadd
33: iload 6
aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.textGap:I
iadd
iconst_2
imul
iload 5
iadd
iconst_2
iadd
34: invokestatic sun.swing.SwingUtilities2.drawString:(Ljavax/swing/JComponent;Ljava/awt/Graphics;Ljava/lang/String;II)V
35: iload 7
aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.textGap:I
iconst_3
imul
iadd
ireturn
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 36 0 this Ljavax/swing/colorchooser/DefaultPreviewPanel;
0 36 1 g Ljava/awt/Graphics;
0 36 2 offsetX I
2 36 3 host Ljavax/swing/JComponent;
5 36 4 fm Ljava/awt/FontMetrics;
6 36 5 ascent I
7 36 6 height I
8 36 7 width I
9 36 8 textXOffset I
10 36 9 color Ljava/awt/Color;
MethodParameters:
Name Flags
g
offsetX
private int paintSquares(java.awt.Graphics, int);
descriptor: (Ljava/awt/Graphics;I)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=5, args_size=3
start local 0 start local 1 start local 2 0: iload 2
istore 3
start local 3 1: aload 0
invokevirtual javax.swing.colorchooser.DefaultPreviewPanel.getForeground:()Ljava/awt/Color;
astore 4
start local 4 2: aload 1
getstatic java.awt.Color.white:Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
3: aload 1
iload 3
iconst_0
aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.squareSize:I
aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.squareSize:I
invokevirtual java.awt.Graphics.fillRect:(IIII)V
4: aload 1
aload 4
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
5: aload 1
iload 3
aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.innerGap:I
iadd
6: aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.innerGap:I
7: aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.squareSize:I
aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.innerGap:I
iconst_2
imul
isub
8: aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.squareSize:I
aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.innerGap:I
iconst_2
imul
isub
9: invokevirtual java.awt.Graphics.fillRect:(IIII)V
10: aload 1
getstatic java.awt.Color.white:Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
11: aload 1
iload 3
aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.innerGap:I
iconst_2
imul
iadd
12: aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.innerGap:I
iconst_2
imul
13: aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.squareSize:I
aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.innerGap:I
iconst_4
imul
isub
14: aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.squareSize:I
aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.innerGap:I
iconst_4
imul
isub
15: invokevirtual java.awt.Graphics.fillRect:(IIII)V
16: aload 1
aload 4
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
17: aload 1
iload 3
aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.squareSize:I
aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.squareGap:I
iadd
aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.squareSize:I
aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.squareSize:I
invokevirtual java.awt.Graphics.fillRect:(IIII)V
18: aload 1
aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.squareSize:I
aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.squareGap:I
iadd
iconst_0
invokevirtual java.awt.Graphics.translate:(II)V
19: aload 1
getstatic java.awt.Color.black:Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
20: aload 1
iload 3
iconst_0
aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.squareSize:I
aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.squareSize:I
invokevirtual java.awt.Graphics.fillRect:(IIII)V
21: aload 1
aload 4
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
22: aload 1
iload 3
aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.innerGap:I
iadd
23: aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.innerGap:I
24: aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.squareSize:I
aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.innerGap:I
iconst_2
imul
isub
25: aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.squareSize:I
aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.innerGap:I
iconst_2
imul
isub
26: invokevirtual java.awt.Graphics.fillRect:(IIII)V
27: aload 1
getstatic java.awt.Color.white:Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
28: aload 1
iload 3
aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.innerGap:I
iconst_2
imul
iadd
29: aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.innerGap:I
iconst_2
imul
30: aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.squareSize:I
aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.innerGap:I
iconst_4
imul
isub
31: aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.squareSize:I
aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.innerGap:I
iconst_4
imul
isub
32: invokevirtual java.awt.Graphics.fillRect:(IIII)V
33: aload 1
aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.squareSize:I
aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.squareGap:I
iadd
ineg
iconst_0
invokevirtual java.awt.Graphics.translate:(II)V
34: aload 1
aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.squareSize:I
aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.squareGap:I
iadd
aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.squareSize:I
aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.squareGap:I
iadd
invokevirtual java.awt.Graphics.translate:(II)V
35: aload 1
getstatic java.awt.Color.white:Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
36: aload 1
iload 3
iconst_0
aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.squareSize:I
aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.squareSize:I
invokevirtual java.awt.Graphics.fillRect:(IIII)V
37: aload 1
aload 4
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
38: aload 1
iload 3
aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.innerGap:I
iadd
39: aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.innerGap:I
40: aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.squareSize:I
aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.innerGap:I
iconst_2
imul
isub
41: aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.squareSize:I
aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.innerGap:I
iconst_2
imul
isub
42: invokevirtual java.awt.Graphics.fillRect:(IIII)V
43: aload 1
aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.squareSize:I
aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.squareGap:I
iadd
ineg
aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.squareSize:I
aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.squareGap:I
iadd
ineg
invokevirtual java.awt.Graphics.translate:(II)V
44: aload 1
aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.squareSize:I
aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.squareGap:I
iadd
iconst_2
imul
iconst_0
invokevirtual java.awt.Graphics.translate:(II)V
45: aload 1
getstatic java.awt.Color.white:Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
46: aload 1
iload 3
iconst_0
aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.squareSize:I
aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.squareSize:I
invokevirtual java.awt.Graphics.fillRect:(IIII)V
47: aload 1
aload 4
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
48: aload 1
iload 3
aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.innerGap:I
iadd
49: aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.innerGap:I
50: aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.squareSize:I
aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.innerGap:I
iconst_2
imul
isub
51: aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.squareSize:I
aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.innerGap:I
iconst_2
imul
isub
52: invokevirtual java.awt.Graphics.fillRect:(IIII)V
53: aload 1
getstatic java.awt.Color.black:Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
54: aload 1
iload 3
aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.innerGap:I
iconst_2
imul
iadd
55: aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.innerGap:I
iconst_2
imul
56: aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.squareSize:I
aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.innerGap:I
iconst_4
imul
isub
57: aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.squareSize:I
aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.innerGap:I
iconst_4
imul
isub
58: invokevirtual java.awt.Graphics.fillRect:(IIII)V
59: aload 1
aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.squareSize:I
aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.squareGap:I
iadd
iconst_2
imul
ineg
iconst_0
invokevirtual java.awt.Graphics.translate:(II)V
60: aload 1
aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.squareSize:I
aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.squareGap:I
iadd
iconst_2
imul
aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.squareSize:I
aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.squareGap:I
iadd
invokevirtual java.awt.Graphics.translate:(II)V
61: aload 1
getstatic java.awt.Color.black:Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
62: aload 1
iload 3
iconst_0
aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.squareSize:I
aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.squareSize:I
invokevirtual java.awt.Graphics.fillRect:(IIII)V
63: aload 1
aload 4
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
64: aload 1
iload 3
aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.innerGap:I
iadd
65: aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.innerGap:I
66: aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.squareSize:I
aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.innerGap:I
iconst_2
imul
isub
67: aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.squareSize:I
aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.innerGap:I
iconst_2
imul
isub
68: invokevirtual java.awt.Graphics.fillRect:(IIII)V
69: aload 1
aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.squareSize:I
aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.squareGap:I
iadd
iconst_2
imul
ineg
aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.squareSize:I
aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.squareGap:I
iadd
ineg
invokevirtual java.awt.Graphics.translate:(II)V
70: aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.squareSize:I
iconst_3
imul
aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.squareGap:I
iconst_2
imul
iadd
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 71 0 this Ljavax/swing/colorchooser/DefaultPreviewPanel;
0 71 1 g Ljava/awt/Graphics;
0 71 2 offsetX I
1 71 3 squareXOffset I
2 71 4 color Ljava/awt/Color;
MethodParameters:
Name Flags
g
offsetX
private java.lang.String getSampleText();
descriptor: ()Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.sampleText:Ljava/lang/String;
ifnonnull 2
1: aload 0
ldc "ColorChooser.sampleText"
aload 0
invokevirtual javax.swing.colorchooser.DefaultPreviewPanel.getLocale:()Ljava/util/Locale;
invokestatic javax.swing.UIManager.getString:(Ljava/lang/Object;Ljava/util/Locale;)Ljava/lang/String;
putfield javax.swing.colorchooser.DefaultPreviewPanel.sampleText:Ljava/lang/String;
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.colorchooser.DefaultPreviewPanel.sampleText:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/colorchooser/DefaultPreviewPanel;
}
SourceFile: "DefaultPreviewPanel.java"