public class javax.swing.JColorChooser extends javax.swing.JComponent implements javax.accessibility.Accessible
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.swing.JColorChooser
super_class: javax.swing.JComponent
{
private static final java.lang.String uiClassID;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "ColorChooserUI"
private javax.swing.colorchooser.ColorSelectionModel selectionModel;
descriptor: Ljavax/swing/colorchooser/ColorSelectionModel;
flags: (0x0002) ACC_PRIVATE
private javax.swing.JComponent previewPanel;
descriptor: Ljavax/swing/JComponent;
flags: (0x0002) ACC_PRIVATE
private javax.swing.colorchooser.AbstractColorChooserPanel[] chooserPanels;
descriptor: [Ljavax/swing/colorchooser/AbstractColorChooserPanel;
flags: (0x0002) ACC_PRIVATE
private boolean dragEnabled;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
public static final java.lang.String SELECTION_MODEL_PROPERTY;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "selectionModel"
public static final java.lang.String PREVIEW_PANEL_PROPERTY;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "previewPanel"
public static final java.lang.String CHOOSER_PANELS_PROPERTY;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "chooserPanels"
protected javax.accessibility.AccessibleContext accessibleContext;
descriptor: Ljavax/accessibility/AccessibleContext;
flags: (0x0004) ACC_PROTECTED
public static java.awt.Color showDialog(java.awt.Component, java.lang.String, java.awt.Color);
descriptor: (Ljava/awt/Component;Ljava/lang/String;Ljava/awt/Color;)Ljava/awt/Color;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
iconst_1
invokestatic javax.swing.JColorChooser.showDialog:(Ljava/awt/Component;Ljava/lang/String;Ljava/awt/Color;Z)Ljava/awt/Color;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 component Ljava/awt/Component;
0 1 1 title Ljava/lang/String;
0 1 2 initialColor Ljava/awt/Color;
Exceptions:
throws java.awt.HeadlessException
MethodParameters:
Name Flags
component
title
initialColor
public static java.awt.Color showDialog(java.awt.Component, java.lang.String, java.awt.Color, boolean);
descriptor: (Ljava/awt/Component;Ljava/lang/String;Ljava/awt/Color;Z)Ljava/awt/Color;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new javax.swing.JColorChooser
dup
aload 2
ifnull 2
1: aload 2
goto 3
StackMap locals: java.awt.Component java.lang.String java.awt.Color int
StackMap stack: new 0 new 0
2: getstatic java.awt.Color.white:Ljava/awt/Color;
3: StackMap locals: java.awt.Component java.lang.String java.awt.Color int
StackMap stack: new 0 new 0 java.awt.Color
invokespecial javax.swing.JColorChooser.<init>:(Ljava/awt/Color;)V
astore 4
start local 4 4: aload 4
invokevirtual javax.swing.JColorChooser.getChooserPanels:()[Ljavax/swing/colorchooser/AbstractColorChooserPanel;
dup
astore 8
arraylength
istore 7
iconst_0
istore 6
goto 10
StackMap locals: java.awt.Component java.lang.String java.awt.Color int javax.swing.JColorChooser top int int javax.swing.colorchooser.AbstractColorChooserPanel[]
StackMap stack:
5: aload 8
iload 6
aaload
astore 5
start local 5 6: aload 5
7: iload 3
8: invokevirtual javax.swing.colorchooser.AbstractColorChooserPanel.setColorTransparencySelectionEnabled:(Z)V
end local 5 9: iinc 6 1
StackMap locals:
StackMap stack:
10: iload 6
iload 7
if_icmplt 5
11: new javax.swing.ColorTracker
dup
aload 4
invokespecial javax.swing.ColorTracker.<init>:(Ljavax/swing/JColorChooser;)V
astore 5
start local 5 12: aload 0
aload 1
iconst_1
aload 4
aload 5
aconst_null
invokestatic javax.swing.JColorChooser.createDialog:(Ljava/awt/Component;Ljava/lang/String;ZLjavax/swing/JColorChooser;Ljava/awt/event/ActionListener;Ljava/awt/event/ActionListener;)Ljavax/swing/JDialog;
astore 6
start local 6 13: aload 6
new javax.swing.ColorChooserDialog$DisposeOnClose
dup
invokespecial javax.swing.ColorChooserDialog$DisposeOnClose.<init>:()V
invokevirtual javax.swing.JDialog.addComponentListener:(Ljava/awt/event/ComponentListener;)V
14: aload 6
invokevirtual javax.swing.JDialog.show:()V
15: aload 5
invokevirtual javax.swing.ColorTracker.getColor:()Ljava/awt/Color;
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 16 0 component Ljava/awt/Component;
0 16 1 title Ljava/lang/String;
0 16 2 initialColor Ljava/awt/Color;
0 16 3 colorTransparencySelectionEnabled Z
4 16 4 pane Ljavax/swing/JColorChooser;
6 9 5 ccPanel Ljavax/swing/colorchooser/AbstractColorChooserPanel;
12 16 5 ok Ljavax/swing/ColorTracker;
13 16 6 dialog Ljavax/swing/JDialog;
Exceptions:
throws java.awt.HeadlessException
MethodParameters:
Name Flags
component
title
initialColor
colorTransparencySelectionEnabled
public static javax.swing.JDialog createDialog(java.awt.Component, java.lang.String, boolean, javax.swing.JColorChooser, java.awt.event.ActionListener, java.awt.event.ActionListener);
descriptor: (Ljava/awt/Component;Ljava/lang/String;ZLjavax/swing/JColorChooser;Ljava/awt/event/ActionListener;Ljava/awt/event/ActionListener;)Ljavax/swing/JDialog;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=9, locals=8, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
invokestatic javax.swing.JOptionPane.getWindowForComponent:(Ljava/awt/Component;)Ljava/awt/Window;
astore 6
start local 6 1: aload 6
instanceof java.awt.Frame
ifeq 6
2: new javax.swing.ColorChooserDialog
dup
aload 6
checkcast java.awt.Frame
aload 1
iload 2
aload 0
aload 3
3: aload 4
aload 5
4: invokespecial javax.swing.ColorChooserDialog.<init>:(Ljava/awt/Frame;Ljava/lang/String;ZLjava/awt/Component;Ljavax/swing/JColorChooser;Ljava/awt/event/ActionListener;Ljava/awt/event/ActionListener;)V
astore 7
start local 7 5: goto 9
end local 7 6: StackMap locals: java.awt.Window
StackMap stack:
new javax.swing.ColorChooserDialog
dup
aload 6
checkcast java.awt.Dialog
aload 1
iload 2
aload 0
aload 3
7: aload 4
aload 5
8: invokespecial javax.swing.ColorChooserDialog.<init>:(Ljava/awt/Dialog;Ljava/lang/String;ZLjava/awt/Component;Ljavax/swing/JColorChooser;Ljava/awt/event/ActionListener;Ljava/awt/event/ActionListener;)V
astore 7
start local 7 9: StackMap locals: javax.swing.ColorChooserDialog
StackMap stack:
aload 7
invokevirtual javax.swing.ColorChooserDialog.getAccessibleContext:()Ljavax/accessibility/AccessibleContext;
aload 1
invokevirtual javax.accessibility.AccessibleContext.setAccessibleDescription:(Ljava/lang/String;)V
10: aload 7
areturn
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 c Ljava/awt/Component;
0 11 1 title Ljava/lang/String;
0 11 2 modal Z
0 11 3 chooserPane Ljavax/swing/JColorChooser;
0 11 4 okListener Ljava/awt/event/ActionListener;
0 11 5 cancelListener Ljava/awt/event/ActionListener;
1 11 6 window Ljava/awt/Window;
5 6 7 dialog Ljavax/swing/ColorChooserDialog;
9 11 7 dialog Ljavax/swing/ColorChooserDialog;
Exceptions:
throws java.awt.HeadlessException
MethodParameters:
Name Flags
c
title
modal
chooserPane
okListener
cancelListener
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic java.awt.Color.white:Ljava/awt/Color;
invokespecial javax.swing.JColorChooser.<init>:(Ljava/awt/Color;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/JColorChooser;
public void <init>(java.awt.Color);
descriptor: (Ljava/awt/Color;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new javax.swing.colorchooser.DefaultColorSelectionModel
dup
aload 1
invokespecial javax.swing.colorchooser.DefaultColorSelectionModel.<init>:(Ljava/awt/Color;)V
invokespecial javax.swing.JColorChooser.<init>:(Ljavax/swing/colorchooser/ColorSelectionModel;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/JColorChooser;
0 2 1 initialColor Ljava/awt/Color;
MethodParameters:
Name Flags
initialColor
public void <init>(javax.swing.colorchooser.ColorSelectionModel);
descriptor: (Ljavax/swing/colorchooser/ColorSelectionModel;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial javax.swing.JComponent.<init>:()V
1: aload 0
invokestatic javax.swing.colorchooser.ColorChooserComponentFactory.getPreviewPanel:()Ljavax/swing/JComponent;
putfield javax.swing.JColorChooser.previewPanel:Ljavax/swing/JComponent;
2: aload 0
iconst_0
anewarray javax.swing.colorchooser.AbstractColorChooserPanel
putfield javax.swing.JColorChooser.chooserPanels:[Ljavax/swing/colorchooser/AbstractColorChooserPanel;
3: aload 0
aconst_null
putfield javax.swing.JColorChooser.accessibleContext:Ljavax/accessibility/AccessibleContext;
4: aload 0
aload 1
putfield javax.swing.JColorChooser.selectionModel:Ljavax/swing/colorchooser/ColorSelectionModel;
5: aload 0
invokevirtual javax.swing.JColorChooser.updateUI:()V
6: aload 0
iconst_0
putfield javax.swing.JColorChooser.dragEnabled:Z
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/swing/JColorChooser;
0 8 1 model Ljavax/swing/colorchooser/ColorSelectionModel;
MethodParameters:
Name Flags
model
public javax.swing.plaf.ColorChooserUI getUI();
descriptor: ()Ljavax/swing/plaf/ColorChooserUI;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.JColorChooser.ui:Ljavax/swing/plaf/ComponentUI;
checkcast javax.swing.plaf.ColorChooserUI
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/JColorChooser;
public void setUI(javax.swing.plaf.ColorChooserUI);
descriptor: (Ljavax/swing/plaf/ColorChooserUI;)V
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.JComponent.setUI:(Ljavax/swing/plaf/ComponentUI;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/JColorChooser;
0 2 1 ui Ljavax/swing/plaf/ColorChooserUI;
RuntimeVisibleAnnotations:
java.beans.BeanProperty(hidden = true, description = "The UI object that implements the color chooser's LookAndFeel.")
MethodParameters:
Name Flags
ui
public void updateUI();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
invokestatic javax.swing.UIManager.getUI:(Ljavax/swing/JComponent;)Ljavax/swing/plaf/ComponentUI;
checkcast javax.swing.plaf.ColorChooserUI
invokevirtual javax.swing.JColorChooser.setUI:(Ljavax/swing/plaf/ColorChooserUI;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/JColorChooser;
public java.lang.String getUIClassID();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "ColorChooserUI"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/JColorChooser;
RuntimeVisibleAnnotations:
java.beans.BeanProperty(bound = false)
public java.awt.Color getColor();
descriptor: ()Ljava/awt/Color;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.JColorChooser.selectionModel:Ljavax/swing/colorchooser/ColorSelectionModel;
invokeinterface javax.swing.colorchooser.ColorSelectionModel.getSelectedColor:()Ljava/awt/Color;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/JColorChooser;
public void setColor(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
getfield javax.swing.JColorChooser.selectionModel:Ljavax/swing/colorchooser/ColorSelectionModel;
aload 1
invokeinterface javax.swing.colorchooser.ColorSelectionModel.setSelectedColor:(Ljava/awt/Color;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/JColorChooser;
0 2 1 color Ljava/awt/Color;
RuntimeVisibleAnnotations:
java.beans.BeanProperty(bound = false, description = "The current color the chooser is to display.")
MethodParameters:
Name Flags
color
public void setColor(int, int, int);
descriptor: (III)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
new java.awt.Color
dup
iload 1
iload 2
iload 3
invokespecial java.awt.Color.<init>:(III)V
invokevirtual javax.swing.JColorChooser.setColor:(Ljava/awt/Color;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/JColorChooser;
0 2 1 r I
0 2 2 g I
0 2 3 b I
MethodParameters:
Name Flags
r
g
b
public void setColor(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
bipush 16
ishr
sipush 255
iand
iload 1
bipush 8
ishr
sipush 255
iand
iload 1
sipush 255
iand
invokevirtual javax.swing.JColorChooser.setColor:(III)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/JColorChooser;
0 2 1 c I
MethodParameters:
Name Flags
c
public void setDragEnabled(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
ifeq 2
invokestatic java.awt.GraphicsEnvironment.isHeadless:()Z
ifeq 2
1: new java.awt.HeadlessException
dup
invokespecial java.awt.HeadlessException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
iload 1
putfield javax.swing.JColorChooser.dragEnabled:Z
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/JColorChooser;
0 4 1 b Z
RuntimeVisibleAnnotations:
java.beans.BeanProperty(bound = false, description = "Determines whether automatic drag handling is enabled.")
MethodParameters:
Name Flags
b
public boolean getDragEnabled();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.JColorChooser.dragEnabled:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/JColorChooser;
public void setPreviewPanel(javax.swing.JComponent);
descriptor: (Ljavax/swing/JComponent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.JColorChooser.previewPanel:Ljavax/swing/JComponent;
aload 1
if_acmpeq 4
1: aload 0
getfield javax.swing.JColorChooser.previewPanel:Ljavax/swing/JComponent;
astore 2
start local 2 2: aload 0
aload 1
putfield javax.swing.JColorChooser.previewPanel:Ljavax/swing/JComponent;
3: aload 0
ldc "previewPanel"
aload 2
aload 1
invokevirtual javax.swing.JColorChooser.firePropertyChange:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
end local 2 4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/JColorChooser;
0 5 1 preview Ljavax/swing/JComponent;
2 4 2 oldPreview Ljavax/swing/JComponent;
RuntimeVisibleAnnotations:
java.beans.BeanProperty(hidden = true, description = "The UI component which displays the current color.")
MethodParameters:
Name Flags
preview
public javax.swing.JComponent getPreviewPanel();
descriptor: ()Ljavax/swing/JComponent;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.JColorChooser.previewPanel:Ljavax/swing/JComponent;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/JColorChooser;
public void addChooserPanel(javax.swing.colorchooser.AbstractColorChooserPanel);
descriptor: (Ljavax/swing/colorchooser/AbstractColorChooserPanel;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.JColorChooser.getChooserPanels:()[Ljavax/swing/colorchooser/AbstractColorChooserPanel;
astore 2
start local 2 1: aload 2
arraylength
iconst_1
iadd
anewarray javax.swing.colorchooser.AbstractColorChooserPanel
astore 3
start local 3 2: aload 2
iconst_0
aload 3
iconst_0
aload 2
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
3: aload 3
aload 3
arraylength
iconst_1
isub
aload 1
aastore
4: aload 0
aload 3
invokevirtual javax.swing.JColorChooser.setChooserPanels:([Ljavax/swing/colorchooser/AbstractColorChooserPanel;)V
5: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/swing/JColorChooser;
0 6 1 panel Ljavax/swing/colorchooser/AbstractColorChooserPanel;
1 6 2 oldPanels [Ljavax/swing/colorchooser/AbstractColorChooserPanel;
2 6 3 newPanels [Ljavax/swing/colorchooser/AbstractColorChooserPanel;
MethodParameters:
Name Flags
panel
public javax.swing.colorchooser.AbstractColorChooserPanel removeChooserPanel(javax.swing.colorchooser.AbstractColorChooserPanel);
descriptor: (Ljavax/swing/colorchooser/AbstractColorChooserPanel;)Ljavax/swing/colorchooser/AbstractColorChooserPanel;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=2
start local 0 start local 1 0: iconst_m1
istore 2
start local 2 1: iconst_0
istore 3
start local 3 2: goto 7
3: StackMap locals: int int
StackMap stack:
aload 0
getfield javax.swing.JColorChooser.chooserPanels:[Ljavax/swing/colorchooser/AbstractColorChooserPanel;
iload 3
aaload
aload 1
if_acmpne 6
4: iload 3
istore 2
5: goto 8
6: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
7: iload 3
aload 0
getfield javax.swing.JColorChooser.chooserPanels:[Ljavax/swing/colorchooser/AbstractColorChooserPanel;
arraylength
if_icmplt 3
end local 3 8: StackMap locals:
StackMap stack:
iload 2
iconst_m1
if_icmpne 10
9: new java.lang.IllegalArgumentException
dup
ldc "chooser panel not in this chooser"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
10: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.JColorChooser.chooserPanels:[Ljavax/swing/colorchooser/AbstractColorChooserPanel;
arraylength
iconst_1
isub
anewarray javax.swing.colorchooser.AbstractColorChooserPanel
astore 3
start local 3 11: iload 2
aload 0
getfield javax.swing.JColorChooser.chooserPanels:[Ljavax/swing/colorchooser/AbstractColorChooserPanel;
arraylength
iconst_1
isub
if_icmpne 14
12: aload 0
getfield javax.swing.JColorChooser.chooserPanels:[Ljavax/swing/colorchooser/AbstractColorChooserPanel;
iconst_0
aload 3
iconst_0
aload 3
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
13: goto 21
14: StackMap locals: javax.swing.colorchooser.AbstractColorChooserPanel[]
StackMap stack:
iload 2
ifne 17
15: aload 0
getfield javax.swing.JColorChooser.chooserPanels:[Ljavax/swing/colorchooser/AbstractColorChooserPanel;
iconst_1
aload 3
iconst_0
aload 3
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
16: goto 21
17: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.JColorChooser.chooserPanels:[Ljavax/swing/colorchooser/AbstractColorChooserPanel;
iconst_0
aload 3
iconst_0
iload 2
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
18: aload 0
getfield javax.swing.JColorChooser.chooserPanels:[Ljavax/swing/colorchooser/AbstractColorChooserPanel;
iload 2
iconst_1
iadd
19: aload 3
iload 2
aload 0
getfield javax.swing.JColorChooser.chooserPanels:[Ljavax/swing/colorchooser/AbstractColorChooserPanel;
arraylength
iload 2
isub
iconst_1
isub
20: invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
21: StackMap locals:
StackMap stack:
aload 0
aload 3
invokevirtual javax.swing.JColorChooser.setChooserPanels:([Ljavax/swing/colorchooser/AbstractColorChooserPanel;)V
22: aload 1
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Ljavax/swing/JColorChooser;
0 23 1 panel Ljavax/swing/colorchooser/AbstractColorChooserPanel;
1 23 2 containedAt I
2 8 3 i I
11 23 3 newArray [Ljavax/swing/colorchooser/AbstractColorChooserPanel;
MethodParameters:
Name Flags
panel
public void setChooserPanels(javax.swing.colorchooser.AbstractColorChooserPanel[]);
descriptor: ([Ljavax/swing/colorchooser/AbstractColorChooserPanel;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.JColorChooser.chooserPanels:[Ljavax/swing/colorchooser/AbstractColorChooserPanel;
astore 2
start local 2 1: aload 0
aload 1
aload 1
arraylength
invokestatic java.util.Arrays.copyOf:([Ljava/lang/Object;I)[Ljava/lang/Object;
checkcast javax.swing.colorchooser.AbstractColorChooserPanel[]
putfield javax.swing.JColorChooser.chooserPanels:[Ljavax/swing/colorchooser/AbstractColorChooserPanel;
2: aload 0
ldc "chooserPanels"
aload 2
aload 1
invokevirtual javax.swing.JColorChooser.firePropertyChange:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/JColorChooser;
0 4 1 panels [Ljavax/swing/colorchooser/AbstractColorChooserPanel;
1 4 2 oldValue [Ljavax/swing/colorchooser/AbstractColorChooserPanel;
RuntimeVisibleAnnotations:
java.beans.BeanProperty(hidden = true, description = "An array of different chooser types.")
MethodParameters:
Name Flags
panels
public javax.swing.colorchooser.AbstractColorChooserPanel[] getChooserPanels();
descriptor: ()[Ljavax/swing/colorchooser/AbstractColorChooserPanel;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.JColorChooser.chooserPanels:[Ljavax/swing/colorchooser/AbstractColorChooserPanel;
aload 0
getfield javax.swing.JColorChooser.chooserPanels:[Ljavax/swing/colorchooser/AbstractColorChooserPanel;
arraylength
invokestatic java.util.Arrays.copyOf:([Ljava/lang/Object;I)[Ljava/lang/Object;
checkcast javax.swing.colorchooser.AbstractColorChooserPanel[]
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/JColorChooser;
public javax.swing.colorchooser.ColorSelectionModel getSelectionModel();
descriptor: ()Ljavax/swing/colorchooser/ColorSelectionModel;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.JColorChooser.selectionModel:Ljavax/swing/colorchooser/ColorSelectionModel;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/JColorChooser;
public void setSelectionModel(javax.swing.colorchooser.ColorSelectionModel);
descriptor: (Ljavax/swing/colorchooser/ColorSelectionModel;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.JColorChooser.selectionModel:Ljavax/swing/colorchooser/ColorSelectionModel;
astore 2
start local 2 1: aload 0
aload 1
putfield javax.swing.JColorChooser.selectionModel:Ljavax/swing/colorchooser/ColorSelectionModel;
2: aload 0
ldc "selectionModel"
aload 2
aload 1
invokevirtual javax.swing.JColorChooser.firePropertyChange:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/JColorChooser;
0 4 1 newModel Ljavax/swing/colorchooser/ColorSelectionModel;
1 4 2 oldModel Ljavax/swing/colorchooser/ColorSelectionModel;
RuntimeVisibleAnnotations:
java.beans.BeanProperty(hidden = true, description = "The model which contains the currently selected color.")
MethodParameters:
Name Flags
newModel
private void writeObject(java.io.ObjectOutputStream);
descriptor: (Ljava/io/ObjectOutputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.io.ObjectOutputStream.defaultWriteObject:()V
1: aload 0
invokevirtual javax.swing.JColorChooser.getUIClassID:()Ljava/lang/String;
ldc "ColorChooserUI"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
2: aload 0
invokestatic javax.swing.JComponent.getWriteObjCounter:(Ljavax/swing/JComponent;)B
istore 2
start local 2 3: aload 0
iload 2
iconst_1
isub
i2b
dup
istore 2
invokestatic javax.swing.JComponent.setWriteObjCounter:(Ljavax/swing/JComponent;B)V
4: iload 2
ifne 6
aload 0
getfield javax.swing.JColorChooser.ui:Ljavax/swing/plaf/ComponentUI;
ifnull 6
5: aload 0
getfield javax.swing.JColorChooser.ui:Ljavax/swing/plaf/ComponentUI;
aload 0
invokevirtual javax.swing.plaf.ComponentUI.installUI:(Ljavax/swing/JComponent;)V
end local 2 6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/swing/JColorChooser;
0 7 1 s Ljava/io/ObjectOutputStream;
3 6 2 count B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
s
protected java.lang.String paramString();
descriptor: ()Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=6, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 1: aload 0
getfield javax.swing.JColorChooser.chooserPanels:[Ljavax/swing/colorchooser/AbstractColorChooserPanel;
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 6
StackMap locals: javax.swing.JColorChooser java.lang.StringBuilder top int int javax.swing.colorchooser.AbstractColorChooserPanel[]
StackMap stack:
2: aload 5
iload 3
aaload
astore 2
start local 2 3: aload 1
bipush 91
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
4: bipush 93
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
end local 2 5: iinc 3 1
StackMap locals:
StackMap stack:
6: iload 3
iload 4
if_icmplt 2
7: aload 0
getfield javax.swing.JColorChooser.previewPanel:Ljavax/swing/JComponent;
ifnull 9
aload 0
getfield javax.swing.JColorChooser.previewPanel:Ljavax/swing/JComponent;
8: invokevirtual javax.swing.JComponent.toString:()Ljava/lang/String;
goto 10
StackMap locals: javax.swing.JColorChooser java.lang.StringBuilder
StackMap stack:
9: ldc ""
10: StackMap locals:
StackMap stack: java.lang.String
astore 2
start local 2 11: new java.lang.StringBuilder
dup
aload 0
invokespecial javax.swing.JComponent.paramString:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ",chooserPanels="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
12: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ",previewPanel="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
13: aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
14: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Ljavax/swing/JColorChooser;
1 15 1 chooserPanelsString Ljava/lang/StringBuilder;
3 5 2 panel Ljavax/swing/colorchooser/AbstractColorChooserPanel;
11 15 2 previewPanelString Ljava/lang/String;
public javax.accessibility.AccessibleContext getAccessibleContext();
descriptor: ()Ljavax/accessibility/AccessibleContext;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.JColorChooser.accessibleContext:Ljavax/accessibility/AccessibleContext;
ifnonnull 2
1: aload 0
new javax.swing.JColorChooser$AccessibleJColorChooser
dup
aload 0
invokespecial javax.swing.JColorChooser$AccessibleJColorChooser.<init>:(Ljavax/swing/JColorChooser;)V
putfield javax.swing.JColorChooser.accessibleContext:Ljavax/accessibility/AccessibleContext;
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.JColorChooser.accessibleContext:Ljavax/accessibility/AccessibleContext;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/JColorChooser;
RuntimeVisibleAnnotations:
java.beans.BeanProperty(bound = false)
public javax.swing.plaf.ComponentUI getUI();
descriptor: ()Ljavax/swing/plaf/ComponentUI;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual javax.swing.JColorChooser.getUI:()Ljavax/swing/plaf/ColorChooserUI;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "JColorChooser.java"
NestMembers:
javax.swing.JColorChooser$AccessibleJColorChooser
InnerClasses:
DisposeOnClose = javax.swing.ColorChooserDialog$DisposeOnClose of javax.swing.ColorChooserDialog
protected AccessibleJColorChooser = javax.swing.JColorChooser$AccessibleJColorChooser of javax.swing.JColorChooser
RuntimeVisibleAnnotations:
java.beans.JavaBean(defaultProperty = "UI", description = "A component that supports selecting a Color.")
javax.swing.SwingContainer(value = false)