class javax.swing.colorchooser.RecentSwatchPanel extends javax.swing.colorchooser.SwatchPanel
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.swing.colorchooser.RecentSwatchPanel
super_class: javax.swing.colorchooser.SwatchPanel
{
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial javax.swing.colorchooser.SwatchPanel.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/colorchooser/RecentSwatchPanel;
protected void initValues();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
ldc "ColorChooser.swatchesRecentSwatchSize"
aload 0
invokevirtual javax.swing.colorchooser.RecentSwatchPanel.getLocale:()Ljava/util/Locale;
invokestatic javax.swing.UIManager.getDimension:(Ljava/lang/Object;Ljava/util/Locale;)Ljava/awt/Dimension;
putfield javax.swing.colorchooser.RecentSwatchPanel.swatchSize:Ljava/awt/Dimension;
1: aload 0
new java.awt.Dimension
dup
iconst_5
bipush 7
invokespecial java.awt.Dimension.<init>:(II)V
putfield javax.swing.colorchooser.RecentSwatchPanel.numSwatches:Ljava/awt/Dimension;
2: aload 0
new java.awt.Dimension
dup
iconst_1
iconst_1
invokespecial java.awt.Dimension.<init>:(II)V
putfield javax.swing.colorchooser.RecentSwatchPanel.gap:Ljava/awt/Dimension;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/colorchooser/RecentSwatchPanel;
protected void initColors();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, args_size=1
start local 0 0: ldc "ColorChooser.swatchesDefaultRecentColor"
aload 0
invokevirtual javax.swing.colorchooser.RecentSwatchPanel.getLocale:()Ljava/util/Locale;
invokestatic javax.swing.UIManager.getColor:(Ljava/lang/Object;Ljava/util/Locale;)Ljava/awt/Color;
astore 1
start local 1 1: aload 0
getfield javax.swing.colorchooser.RecentSwatchPanel.numSwatches:Ljava/awt/Dimension;
getfield java.awt.Dimension.width:I
aload 0
getfield javax.swing.colorchooser.RecentSwatchPanel.numSwatches:Ljava/awt/Dimension;
getfield java.awt.Dimension.height:I
imul
istore 2
start local 2 2: aload 0
iload 2
anewarray java.awt.Color
putfield javax.swing.colorchooser.RecentSwatchPanel.colors:[Ljava/awt/Color;
3: iconst_0
istore 3
start local 3 4: goto 7
5: StackMap locals: java.awt.Color int int
StackMap stack:
aload 0
getfield javax.swing.colorchooser.RecentSwatchPanel.colors:[Ljava/awt/Color;
iload 3
aload 1
aastore
6: iinc 3 1
StackMap locals:
StackMap stack:
7: iload 3
iload 2
if_icmplt 5
end local 3 8: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljavax/swing/colorchooser/RecentSwatchPanel;
1 9 1 defaultRecentColor Ljava/awt/Color;
2 9 2 numColors I
4 8 3 i I
public void setMostRecentColor(java.awt.Color);
descriptor: (Ljava/awt/Color;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.colorchooser.RecentSwatchPanel.colors:[Ljava/awt/Color;
iconst_0
aload 0
getfield javax.swing.colorchooser.RecentSwatchPanel.colors:[Ljava/awt/Color;
iconst_1
aload 0
getfield javax.swing.colorchooser.RecentSwatchPanel.colors:[Ljava/awt/Color;
arraylength
iconst_1
isub
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
1: aload 0
getfield javax.swing.colorchooser.RecentSwatchPanel.colors:[Ljava/awt/Color;
iconst_0
aload 1
aastore
2: aload 0
invokevirtual javax.swing.colorchooser.RecentSwatchPanel.repaint:()V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/colorchooser/RecentSwatchPanel;
0 4 1 c Ljava/awt/Color;
MethodParameters:
Name Flags
c
}
SourceFile: "DefaultSwatchChooserPanel.java"