class sun.print.ServiceDialog$MediaPanel extends javax.swing.JPanel implements java.awt.event.ItemListener
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.print.ServiceDialog$MediaPanel
super_class: javax.swing.JPanel
{
private final java.lang.String strTitle;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private javax.swing.JLabel lblSize;
descriptor: Ljavax/swing/JLabel;
flags: (0x0002) ACC_PRIVATE
private javax.swing.JLabel lblSource;
descriptor: Ljavax/swing/JLabel;
flags: (0x0002) ACC_PRIVATE
private javax.swing.JComboBox cbSize;
descriptor: Ljavax/swing/JComboBox;
flags: (0x0002) ACC_PRIVATE
private javax.swing.JComboBox cbSource;
descriptor: Ljavax/swing/JComboBox;
flags: (0x0002) ACC_PRIVATE
private java.util.Vector sizes;
descriptor: Ljava/util/Vector;
flags: (0x0002) ACC_PRIVATE
private java.util.Vector sources;
descriptor: Ljava/util/Vector;
flags: (0x0002) ACC_PRIVATE
private sun.print.ServiceDialog$MarginsPanel pnlMargins;
descriptor: Lsun/print/ServiceDialog$MarginsPanel;
flags: (0x0002) ACC_PRIVATE
final sun.print.ServiceDialog this$0;
descriptor: Lsun/print/ServiceDialog;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
public void <init>(sun.print.ServiceDialog);
descriptor: (Lsun/print/ServiceDialog;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=2
start local 0 0: aload 0
aload 1
putfield sun.print.ServiceDialog$MediaPanel.this$0:Lsun/print/ServiceDialog;
1: aload 0
invokespecial javax.swing.JPanel.<init>:()V
2: aload 0
ldc "border.media"
invokestatic sun.print.ServiceDialog.getMsg:(Ljava/lang/String;)Ljava/lang/String;
putfield sun.print.ServiceDialog$MediaPanel.strTitle:Ljava/lang/String;
3: aload 0
new java.util.Vector
dup
invokespecial java.util.Vector.<init>:()V
putfield sun.print.ServiceDialog$MediaPanel.sizes:Ljava/util/Vector;
4: aload 0
new java.util.Vector
dup
invokespecial java.util.Vector.<init>:()V
putfield sun.print.ServiceDialog$MediaPanel.sources:Ljava/util/Vector;
5: aload 0
aconst_null
putfield sun.print.ServiceDialog$MediaPanel.pnlMargins:Lsun/print/ServiceDialog$MarginsPanel;
6: new java.awt.GridBagLayout
dup
invokespecial java.awt.GridBagLayout.<init>:()V
astore 2
start local 2 7: new java.awt.GridBagConstraints
dup
invokespecial java.awt.GridBagConstraints.<init>:()V
astore 3
start local 3 8: aload 0
aload 2
invokevirtual sun.print.ServiceDialog$MediaPanel.setLayout:(Ljava/awt/LayoutManager;)V
9: aload 0
aload 0
getfield sun.print.ServiceDialog$MediaPanel.strTitle:Ljava/lang/String;
invokestatic javax.swing.BorderFactory.createTitledBorder:(Ljava/lang/String;)Ljavax/swing/border/TitledBorder;
invokevirtual sun.print.ServiceDialog$MediaPanel.setBorder:(Ljavax/swing/border/Border;)V
10: aload 0
new javax.swing.JComboBox
dup
invokespecial javax.swing.JComboBox.<init>:()V
putfield sun.print.ServiceDialog$MediaPanel.cbSize:Ljavax/swing/JComboBox;
11: aload 0
new javax.swing.JComboBox
dup
invokespecial javax.swing.JComboBox.<init>:()V
putfield sun.print.ServiceDialog$MediaPanel.cbSource:Ljavax/swing/JComboBox;
12: aload 3
iconst_1
putfield java.awt.GridBagConstraints.fill:I
13: aload 3
getstatic sun.print.ServiceDialog.compInsets:Ljava/awt/Insets;
putfield java.awt.GridBagConstraints.insets:Ljava/awt/Insets;
14: aload 3
dconst_1
putfield java.awt.GridBagConstraints.weighty:D
15: aload 3
dconst_0
putfield java.awt.GridBagConstraints.weightx:D
16: aload 0
new javax.swing.JLabel
dup
ldc "label.size"
invokestatic sun.print.ServiceDialog.getMsg:(Ljava/lang/String;)Ljava/lang/String;
bipush 11
invokespecial javax.swing.JLabel.<init>:(Ljava/lang/String;I)V
putfield sun.print.ServiceDialog$MediaPanel.lblSize:Ljavax/swing/JLabel;
17: aload 0
getfield sun.print.ServiceDialog$MediaPanel.lblSize:Ljavax/swing/JLabel;
ldc "label.size"
invokestatic sun.print.ServiceDialog.getMnemonic:(Ljava/lang/String;)C
invokevirtual javax.swing.JLabel.setDisplayedMnemonic:(C)V
18: aload 0
getfield sun.print.ServiceDialog$MediaPanel.lblSize:Ljavax/swing/JLabel;
aload 0
getfield sun.print.ServiceDialog$MediaPanel.cbSize:Ljavax/swing/JComboBox;
invokevirtual javax.swing.JLabel.setLabelFor:(Ljava/awt/Component;)V
19: aload 0
getfield sun.print.ServiceDialog$MediaPanel.lblSize:Ljavax/swing/JLabel;
aload 0
aload 2
aload 3
invokestatic sun.print.ServiceDialog.addToGB:(Ljava/awt/Component;Ljava/awt/Container;Ljava/awt/GridBagLayout;Ljava/awt/GridBagConstraints;)V
20: aload 3
dconst_1
putfield java.awt.GridBagConstraints.weightx:D
21: aload 3
iconst_0
putfield java.awt.GridBagConstraints.gridwidth:I
22: aload 0
getfield sun.print.ServiceDialog$MediaPanel.cbSize:Ljavax/swing/JComboBox;
aload 0
aload 2
aload 3
invokestatic sun.print.ServiceDialog.addToGB:(Ljava/awt/Component;Ljava/awt/Container;Ljava/awt/GridBagLayout;Ljava/awt/GridBagConstraints;)V
23: aload 3
dconst_0
putfield java.awt.GridBagConstraints.weightx:D
24: aload 3
iconst_1
putfield java.awt.GridBagConstraints.gridwidth:I
25: aload 0
new javax.swing.JLabel
dup
ldc "label.source"
invokestatic sun.print.ServiceDialog.getMsg:(Ljava/lang/String;)Ljava/lang/String;
bipush 11
invokespecial javax.swing.JLabel.<init>:(Ljava/lang/String;I)V
putfield sun.print.ServiceDialog$MediaPanel.lblSource:Ljavax/swing/JLabel;
26: aload 0
getfield sun.print.ServiceDialog$MediaPanel.lblSource:Ljavax/swing/JLabel;
ldc "label.source"
invokestatic sun.print.ServiceDialog.getMnemonic:(Ljava/lang/String;)C
invokevirtual javax.swing.JLabel.setDisplayedMnemonic:(C)V
27: aload 0
getfield sun.print.ServiceDialog$MediaPanel.lblSource:Ljavax/swing/JLabel;
aload 0
getfield sun.print.ServiceDialog$MediaPanel.cbSource:Ljavax/swing/JComboBox;
invokevirtual javax.swing.JLabel.setLabelFor:(Ljava/awt/Component;)V
28: aload 0
getfield sun.print.ServiceDialog$MediaPanel.lblSource:Ljavax/swing/JLabel;
aload 0
aload 2
aload 3
invokestatic sun.print.ServiceDialog.addToGB:(Ljava/awt/Component;Ljava/awt/Container;Ljava/awt/GridBagLayout;Ljava/awt/GridBagConstraints;)V
29: aload 3
iconst_0
putfield java.awt.GridBagConstraints.gridwidth:I
30: aload 0
getfield sun.print.ServiceDialog$MediaPanel.cbSource:Ljavax/swing/JComboBox;
aload 0
aload 2
aload 3
invokestatic sun.print.ServiceDialog.addToGB:(Ljava/awt/Component;Ljava/awt/Container;Ljava/awt/GridBagLayout;Ljava/awt/GridBagConstraints;)V
31: return
end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 32 0 this Lsun/print/ServiceDialog$MediaPanel;
7 32 2 gridbag Ljava/awt/GridBagLayout;
8 32 3 c Ljava/awt/GridBagConstraints;
MethodParameters:
Name Flags
this$0 final
private java.lang.String getMediaName(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
bipush 32
bipush 45
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
astore 2
start local 2 1: aload 2
bipush 35
bipush 110
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
astore 2
2: getstatic sun.print.ServiceDialog.messageRB:Ljava/util/ResourceBundle;
aload 2
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
3: areturn
end local 2 4: StackMap locals:
StackMap stack: java.util.MissingResourceException
pop
5: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/print/ServiceDialog$MediaPanel;
0 6 1 key Ljava/lang/String;
1 4 2 newkey Ljava/lang/String;
Exception table:
from to target type
0 3 4 Class java.util.MissingResourceException
MethodParameters:
Name Flags
key
public void itemStateChanged(java.awt.event.ItemEvent);
descriptor: (Ljava/awt/event/ItemEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=8, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.awt.event.ItemEvent.getSource:()Ljava/lang/Object;
astore 2
start local 2 1: aload 1
invokevirtual java.awt.event.ItemEvent.getStateChange:()I
iconst_1
if_icmpne 36
2: aload 2
aload 0
getfield sun.print.ServiceDialog$MediaPanel.cbSize:Ljavax/swing/JComboBox;
if_acmpne 12
3: aload 0
getfield sun.print.ServiceDialog$MediaPanel.cbSize:Ljavax/swing/JComboBox;
invokevirtual javax.swing.JComboBox.getSelectedIndex:()I
istore 3
start local 3 4: iload 3
iflt 34
iload 3
aload 0
getfield sun.print.ServiceDialog$MediaPanel.sizes:Ljava/util/Vector;
invokevirtual java.util.Vector.size:()I
if_icmpge 34
5: aload 0
getfield sun.print.ServiceDialog$MediaPanel.cbSource:Ljavax/swing/JComboBox;
invokevirtual javax.swing.JComboBox.getItemCount:()I
iconst_1
if_icmple 10
6: aload 0
getfield sun.print.ServiceDialog$MediaPanel.cbSource:Ljavax/swing/JComboBox;
invokevirtual javax.swing.JComboBox.getSelectedIndex:()I
iconst_1
if_icmplt 10
7: aload 0
getfield sun.print.ServiceDialog$MediaPanel.cbSource:Ljavax/swing/JComboBox;
invokevirtual javax.swing.JComboBox.getSelectedIndex:()I
iconst_1
isub
istore 4
start local 4 8: aload 0
getfield sun.print.ServiceDialog$MediaPanel.sources:Ljava/util/Vector;
iload 4
invokevirtual java.util.Vector.get:(I)Ljava/lang/Object;
checkcast javax.print.attribute.standard.MediaTray
astore 5
start local 5 9: aload 0
getfield sun.print.ServiceDialog$MediaPanel.this$0:Lsun/print/ServiceDialog;
getfield sun.print.ServiceDialog.asCurrent:Ljavax/print/attribute/HashPrintRequestAttributeSet;
new sun.print.SunAlternateMedia
dup
aload 5
invokespecial sun.print.SunAlternateMedia.<init>:(Ljavax/print/attribute/standard/Media;)V
invokevirtual javax.print.attribute.HashPrintRequestAttributeSet.add:(Ljavax/print/attribute/Attribute;)Z
pop
end local 5 end local 4 10: StackMap locals: java.lang.Object int
StackMap stack:
aload 0
getfield sun.print.ServiceDialog$MediaPanel.this$0:Lsun/print/ServiceDialog;
getfield sun.print.ServiceDialog.asCurrent:Ljavax/print/attribute/HashPrintRequestAttributeSet;
aload 0
getfield sun.print.ServiceDialog$MediaPanel.sizes:Ljava/util/Vector;
iload 3
invokevirtual java.util.Vector.get:(I)Ljava/lang/Object;
checkcast javax.print.attribute.standard.MediaSizeName
invokevirtual javax.print.attribute.HashPrintRequestAttributeSet.add:(Ljavax/print/attribute/Attribute;)Z
pop
end local 3 11: goto 34
StackMap locals:
StackMap stack:
12: aload 2
aload 0
getfield sun.print.ServiceDialog$MediaPanel.cbSource:Ljavax/swing/JComboBox;
if_acmpne 34
13: aload 0
getfield sun.print.ServiceDialog$MediaPanel.cbSource:Ljavax/swing/JComboBox;
invokevirtual javax.swing.JComboBox.getSelectedIndex:()I
istore 3
start local 3 14: iload 3
iconst_1
if_icmplt 29
iload 3
aload 0
getfield sun.print.ServiceDialog$MediaPanel.sources:Ljava/util/Vector;
invokevirtual java.util.Vector.size:()I
iconst_1
iadd
if_icmpge 29
15: aload 0
getfield sun.print.ServiceDialog$MediaPanel.this$0:Lsun/print/ServiceDialog;
getfield sun.print.ServiceDialog.asCurrent:Ljavax/print/attribute/HashPrintRequestAttributeSet;
ldc Lsun/print/SunAlternateMedia;
invokevirtual javax.print.attribute.HashPrintRequestAttributeSet.remove:(Ljava/lang/Class;)Z
pop
16: aload 0
getfield sun.print.ServiceDialog$MediaPanel.sources:Ljava/util/Vector;
iload 3
iconst_1
isub
invokevirtual java.util.Vector.get:(I)Ljava/lang/Object;
checkcast javax.print.attribute.standard.MediaTray
astore 4
start local 4 17: aload 0
getfield sun.print.ServiceDialog$MediaPanel.this$0:Lsun/print/ServiceDialog;
getfield sun.print.ServiceDialog.asCurrent:Ljavax/print/attribute/HashPrintRequestAttributeSet;
ldc Ljavax/print/attribute/standard/Media;
invokevirtual javax.print.attribute.HashPrintRequestAttributeSet.get:(Ljava/lang/Class;)Ljavax/print/attribute/Attribute;
checkcast javax.print.attribute.standard.Media
astore 5
start local 5 18: aload 5
ifnull 19
aload 5
instanceof javax.print.attribute.standard.MediaTray
ifeq 21
19: StackMap locals: int javax.print.attribute.standard.MediaTray javax.print.attribute.standard.Media
StackMap stack:
aload 0
getfield sun.print.ServiceDialog$MediaPanel.this$0:Lsun/print/ServiceDialog;
getfield sun.print.ServiceDialog.asCurrent:Ljavax/print/attribute/HashPrintRequestAttributeSet;
aload 4
invokevirtual javax.print.attribute.HashPrintRequestAttributeSet.add:(Ljavax/print/attribute/Attribute;)Z
pop
20: goto 34
StackMap locals:
StackMap stack:
21: aload 5
instanceof javax.print.attribute.standard.MediaSizeName
ifeq 34
22: aload 5
checkcast javax.print.attribute.standard.MediaSizeName
astore 6
start local 6 23: aload 0
getfield sun.print.ServiceDialog$MediaPanel.this$0:Lsun/print/ServiceDialog;
getfield sun.print.ServiceDialog.psCurrent:Ljavax/print/PrintService;
ldc Ljavax/print/attribute/standard/Media;
invokeinterface javax.print.PrintService.getDefaultAttributeValue:(Ljava/lang/Class;)Ljava/lang/Object;
checkcast javax.print.attribute.standard.Media
astore 7
start local 7 24: aload 7
instanceof javax.print.attribute.standard.MediaSizeName
ifeq 27
aload 7
aload 6
invokevirtual javax.print.attribute.standard.Media.equals:(Ljava/lang/Object;)Z
ifeq 27
25: aload 0
getfield sun.print.ServiceDialog$MediaPanel.this$0:Lsun/print/ServiceDialog;
getfield sun.print.ServiceDialog.asCurrent:Ljavax/print/attribute/HashPrintRequestAttributeSet;
aload 4
invokevirtual javax.print.attribute.HashPrintRequestAttributeSet.add:(Ljavax/print/attribute/Attribute;)Z
pop
26: goto 34
27: StackMap locals: javax.print.attribute.standard.MediaSizeName javax.print.attribute.standard.Media
StackMap stack:
aload 0
getfield sun.print.ServiceDialog$MediaPanel.this$0:Lsun/print/ServiceDialog;
getfield sun.print.ServiceDialog.asCurrent:Ljavax/print/attribute/HashPrintRequestAttributeSet;
new sun.print.SunAlternateMedia
dup
aload 4
invokespecial sun.print.SunAlternateMedia.<init>:(Ljavax/print/attribute/standard/Media;)V
invokevirtual javax.print.attribute.HashPrintRequestAttributeSet.add:(Ljavax/print/attribute/Attribute;)Z
pop
end local 7 end local 6 end local 5 end local 4 28: goto 34
StackMap locals: sun.print.ServiceDialog$MediaPanel java.awt.event.ItemEvent java.lang.Object int
StackMap stack:
29: iload 3
ifne 34
30: aload 0
getfield sun.print.ServiceDialog$MediaPanel.this$0:Lsun/print/ServiceDialog;
getfield sun.print.ServiceDialog.asCurrent:Ljavax/print/attribute/HashPrintRequestAttributeSet;
ldc Lsun/print/SunAlternateMedia;
invokevirtual javax.print.attribute.HashPrintRequestAttributeSet.remove:(Ljava/lang/Class;)Z
pop
31: aload 0
getfield sun.print.ServiceDialog$MediaPanel.cbSize:Ljavax/swing/JComboBox;
invokevirtual javax.swing.JComboBox.getItemCount:()I
ifle 34
32: aload 0
getfield sun.print.ServiceDialog$MediaPanel.cbSize:Ljavax/swing/JComboBox;
invokevirtual javax.swing.JComboBox.getSelectedIndex:()I
istore 4
start local 4 33: aload 0
getfield sun.print.ServiceDialog$MediaPanel.this$0:Lsun/print/ServiceDialog;
getfield sun.print.ServiceDialog.asCurrent:Ljavax/print/attribute/HashPrintRequestAttributeSet;
aload 0
getfield sun.print.ServiceDialog$MediaPanel.sizes:Ljava/util/Vector;
iload 4
invokevirtual java.util.Vector.get:(I)Ljava/lang/Object;
checkcast javax.print.attribute.standard.MediaSizeName
invokevirtual javax.print.attribute.HashPrintRequestAttributeSet.add:(Ljavax/print/attribute/Attribute;)Z
pop
end local 4 end local 3 34: StackMap locals:
StackMap stack:
aload 0
getfield sun.print.ServiceDialog$MediaPanel.pnlMargins:Lsun/print/ServiceDialog$MarginsPanel;
ifnull 36
35: aload 0
getfield sun.print.ServiceDialog$MediaPanel.pnlMargins:Lsun/print/ServiceDialog$MarginsPanel;
invokevirtual sun.print.ServiceDialog$MarginsPanel.updateInfo:()V
36: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 37 0 this Lsun/print/ServiceDialog$MediaPanel;
0 37 1 e Ljava/awt/event/ItemEvent;
1 37 2 source Ljava/lang/Object;
4 11 3 index I
8 10 4 src I
9 10 5 mt Ljavax/print/attribute/standard/MediaTray;
14 34 3 index I
17 28 4 newTray Ljavax/print/attribute/standard/MediaTray;
18 28 5 m Ljavax/print/attribute/standard/Media;
23 28 6 msn Ljavax/print/attribute/standard/MediaSizeName;
24 28 7 def Ljavax/print/attribute/standard/Media;
33 34 4 size I
MethodParameters:
Name Flags
e
public void addMediaListener(sun.print.ServiceDialog$MarginsPanel);
descriptor: (Lsun/print/ServiceDialog$MarginsPanel;)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 sun.print.ServiceDialog$MediaPanel.pnlMargins:Lsun/print/ServiceDialog$MarginsPanel;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/print/ServiceDialog$MediaPanel;
0 2 1 pnl Lsun/print/ServiceDialog$MarginsPanel;
MethodParameters:
Name Flags
pnl
public void updateInfo();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=10, args_size=1
start local 0 0: ldc Ljavax/print/attribute/standard/Media;
astore 1
start local 1 1: ldc Lsun/print/SunAlternateMedia;
astore 2
start local 2 2: iconst_0
istore 3
start local 3 3: aload 0
getfield sun.print.ServiceDialog$MediaPanel.cbSize:Ljavax/swing/JComboBox;
aload 0
invokevirtual javax.swing.JComboBox.removeItemListener:(Ljava/awt/event/ItemListener;)V
4: aload 0
getfield sun.print.ServiceDialog$MediaPanel.cbSize:Ljavax/swing/JComboBox;
invokevirtual javax.swing.JComboBox.removeAllItems:()V
5: aload 0
getfield sun.print.ServiceDialog$MediaPanel.cbSource:Ljavax/swing/JComboBox;
aload 0
invokevirtual javax.swing.JComboBox.removeItemListener:(Ljava/awt/event/ItemListener;)V
6: aload 0
getfield sun.print.ServiceDialog$MediaPanel.cbSource:Ljavax/swing/JComboBox;
invokevirtual javax.swing.JComboBox.removeAllItems:()V
7: aload 0
getfield sun.print.ServiceDialog$MediaPanel.cbSource:Ljavax/swing/JComboBox;
aload 0
ldc "auto-select"
invokevirtual sun.print.ServiceDialog$MediaPanel.getMediaName:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual javax.swing.JComboBox.addItem:(Ljava/lang/Object;)V
8: aload 0
getfield sun.print.ServiceDialog$MediaPanel.sizes:Ljava/util/Vector;
invokevirtual java.util.Vector.clear:()V
9: aload 0
getfield sun.print.ServiceDialog$MediaPanel.sources:Ljava/util/Vector;
invokevirtual java.util.Vector.clear:()V
10: aload 0
getfield sun.print.ServiceDialog$MediaPanel.this$0:Lsun/print/ServiceDialog;
getfield sun.print.ServiceDialog.psCurrent:Ljavax/print/PrintService;
aload 1
invokeinterface javax.print.PrintService.isAttributeCategorySupported:(Ljava/lang/Class;)Z
ifeq 31
11: iconst_1
istore 3
12: aload 0
getfield sun.print.ServiceDialog$MediaPanel.this$0:Lsun/print/ServiceDialog;
getfield sun.print.ServiceDialog.psCurrent:Ljavax/print/PrintService;
aload 1
13: aload 0
getfield sun.print.ServiceDialog$MediaPanel.this$0:Lsun/print/ServiceDialog;
getfield sun.print.ServiceDialog.docFlavor:Ljavax/print/DocFlavor;
14: aload 0
getfield sun.print.ServiceDialog$MediaPanel.this$0:Lsun/print/ServiceDialog;
getfield sun.print.ServiceDialog.asCurrent:Ljavax/print/attribute/HashPrintRequestAttributeSet;
15: invokeinterface javax.print.PrintService.getSupportedAttributeValues:(Ljava/lang/Class;Ljavax/print/DocFlavor;Ljavax/print/attribute/AttributeSet;)Ljava/lang/Object;
16: astore 4
start local 4 17: aload 4
instanceof javax.print.attribute.standard.Media[]
ifeq 31
18: aload 4
checkcast javax.print.attribute.standard.Media[]
astore 5
start local 5 19: iconst_0
istore 6
start local 6 20: goto 30
21: StackMap locals: sun.print.ServiceDialog$MediaPanel java.lang.Class java.lang.Class int java.lang.Object javax.print.attribute.standard.Media[] int
StackMap stack:
aload 5
iload 6
aaload
astore 7
start local 7 22: aload 7
instanceof javax.print.attribute.standard.MediaSizeName
ifeq 26
23: aload 0
getfield sun.print.ServiceDialog$MediaPanel.sizes:Ljava/util/Vector;
aload 7
invokevirtual java.util.Vector.add:(Ljava/lang/Object;)Z
pop
24: aload 0
getfield sun.print.ServiceDialog$MediaPanel.cbSize:Ljavax/swing/JComboBox;
aload 0
aload 7
invokevirtual javax.print.attribute.standard.Media.toString:()Ljava/lang/String;
invokevirtual sun.print.ServiceDialog$MediaPanel.getMediaName:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual javax.swing.JComboBox.addItem:(Ljava/lang/Object;)V
25: goto 29
StackMap locals: javax.print.attribute.standard.Media
StackMap stack:
26: aload 7
instanceof javax.print.attribute.standard.MediaTray
ifeq 29
27: aload 0
getfield sun.print.ServiceDialog$MediaPanel.sources:Ljava/util/Vector;
aload 7
invokevirtual java.util.Vector.add:(Ljava/lang/Object;)Z
pop
28: aload 0
getfield sun.print.ServiceDialog$MediaPanel.cbSource:Ljavax/swing/JComboBox;
aload 0
aload 7
invokevirtual javax.print.attribute.standard.Media.toString:()Ljava/lang/String;
invokevirtual sun.print.ServiceDialog$MediaPanel.getMediaName:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual javax.swing.JComboBox.addItem:(Ljava/lang/Object;)V
end local 7 29: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
30: iload 6
aload 5
arraylength
if_icmplt 21
end local 6 end local 5 end local 4 31: StackMap locals:
StackMap stack:
iload 3
ifeq 32
aload 0
getfield sun.print.ServiceDialog$MediaPanel.sizes:Ljava/util/Vector;
invokevirtual java.util.Vector.size:()I
ifle 32
iconst_1
goto 33
StackMap locals:
StackMap stack:
32: iconst_0
StackMap locals:
StackMap stack: int
33: istore 4
start local 4 34: aload 0
getfield sun.print.ServiceDialog$MediaPanel.lblSize:Ljavax/swing/JLabel;
iload 4
invokevirtual javax.swing.JLabel.setEnabled:(Z)V
35: aload 0
getfield sun.print.ServiceDialog$MediaPanel.cbSize:Ljavax/swing/JComboBox;
iload 4
invokevirtual javax.swing.JComboBox.setEnabled:(Z)V
36: aload 0
getfield sun.print.ServiceDialog$MediaPanel.this$0:Lsun/print/ServiceDialog;
getfield sun.print.ServiceDialog.isAWT:Z
ifeq 40
37: aload 0
getfield sun.print.ServiceDialog$MediaPanel.cbSource:Ljavax/swing/JComboBox;
iconst_0
invokevirtual javax.swing.JComboBox.setEnabled:(Z)V
38: aload 0
getfield sun.print.ServiceDialog$MediaPanel.lblSource:Ljavax/swing/JLabel;
iconst_0
invokevirtual javax.swing.JLabel.setEnabled:(Z)V
39: goto 41
40: StackMap locals: int
StackMap stack:
aload 0
getfield sun.print.ServiceDialog$MediaPanel.cbSource:Ljavax/swing/JComboBox;
iload 3
invokevirtual javax.swing.JComboBox.setEnabled:(Z)V
41: StackMap locals:
StackMap stack:
iload 3
ifeq 88
42: aload 0
getfield sun.print.ServiceDialog$MediaPanel.this$0:Lsun/print/ServiceDialog;
getfield sun.print.ServiceDialog.asCurrent:Ljavax/print/attribute/HashPrintRequestAttributeSet;
aload 1
invokevirtual javax.print.attribute.HashPrintRequestAttributeSet.get:(Ljava/lang/Class;)Ljavax/print/attribute/Attribute;
checkcast javax.print.attribute.standard.Media
astore 5
start local 5 43: aload 0
getfield sun.print.ServiceDialog$MediaPanel.this$0:Lsun/print/ServiceDialog;
getfield sun.print.ServiceDialog.psCurrent:Ljavax/print/PrintService;
aload 1
invokeinterface javax.print.PrintService.getDefaultAttributeValue:(Ljava/lang/Class;)Ljava/lang/Object;
checkcast javax.print.attribute.standard.Media
astore 6
start local 6 44: aload 6
instanceof javax.print.attribute.standard.MediaSizeName
ifeq 48
45: aload 0
getfield sun.print.ServiceDialog$MediaPanel.cbSize:Ljavax/swing/JComboBox;
aload 0
getfield sun.print.ServiceDialog$MediaPanel.sizes:Ljava/util/Vector;
invokevirtual java.util.Vector.size:()I
ifle 46
aload 0
getfield sun.print.ServiceDialog$MediaPanel.sizes:Ljava/util/Vector;
aload 6
invokevirtual java.util.Vector.indexOf:(Ljava/lang/Object;)I
goto 47
StackMap locals: sun.print.ServiceDialog$MediaPanel java.lang.Class java.lang.Class int int javax.print.attribute.standard.Media javax.print.attribute.standard.Media
StackMap stack: javax.swing.JComboBox
46: iconst_m1
StackMap locals: sun.print.ServiceDialog$MediaPanel java.lang.Class java.lang.Class int int javax.print.attribute.standard.Media javax.print.attribute.standard.Media
StackMap stack: javax.swing.JComboBox int
47: invokevirtual javax.swing.JComboBox.setSelectedIndex:(I)V
48: StackMap locals:
StackMap stack:
aload 5
ifnull 53
49: aload 0
getfield sun.print.ServiceDialog$MediaPanel.this$0:Lsun/print/ServiceDialog;
getfield sun.print.ServiceDialog.psCurrent:Ljavax/print/PrintService;
aload 5
50: aload 0
getfield sun.print.ServiceDialog$MediaPanel.this$0:Lsun/print/ServiceDialog;
getfield sun.print.ServiceDialog.docFlavor:Ljavax/print/DocFlavor;
aload 0
getfield sun.print.ServiceDialog$MediaPanel.this$0:Lsun/print/ServiceDialog;
getfield sun.print.ServiceDialog.asCurrent:Ljavax/print/attribute/HashPrintRequestAttributeSet;
51: invokeinterface javax.print.PrintService.isAttributeValueSupported:(Ljavax/print/attribute/Attribute;Ljavax/print/DocFlavor;Ljavax/print/attribute/AttributeSet;)Z
52: ifne 59
53: StackMap locals:
StackMap stack:
aload 6
astore 5
54: aload 5
ifnonnull 57
55: aload 0
getfield sun.print.ServiceDialog$MediaPanel.sizes:Ljava/util/Vector;
invokevirtual java.util.Vector.size:()I
ifle 57
56: aload 0
getfield sun.print.ServiceDialog$MediaPanel.sizes:Ljava/util/Vector;
iconst_0
invokevirtual java.util.Vector.get:(I)Ljava/lang/Object;
checkcast javax.print.attribute.standard.Media
astore 5
57: StackMap locals:
StackMap stack:
aload 5
ifnull 59
58: aload 0
getfield sun.print.ServiceDialog$MediaPanel.this$0:Lsun/print/ServiceDialog;
getfield sun.print.ServiceDialog.asCurrent:Ljavax/print/attribute/HashPrintRequestAttributeSet;
aload 5
invokevirtual javax.print.attribute.HashPrintRequestAttributeSet.add:(Ljavax/print/attribute/Attribute;)Z
pop
59: StackMap locals:
StackMap stack:
aload 5
ifnull 68
60: aload 5
instanceof javax.print.attribute.standard.MediaSizeName
ifeq 64
61: aload 5
checkcast javax.print.attribute.standard.MediaSizeName
astore 7
start local 7 62: aload 0
getfield sun.print.ServiceDialog$MediaPanel.cbSize:Ljavax/swing/JComboBox;
aload 0
getfield sun.print.ServiceDialog$MediaPanel.sizes:Ljava/util/Vector;
aload 7
invokevirtual java.util.Vector.indexOf:(Ljava/lang/Object;)I
invokevirtual javax.swing.JComboBox.setSelectedIndex:(I)V
end local 7 63: goto 72
StackMap locals:
StackMap stack:
64: aload 5
instanceof javax.print.attribute.standard.MediaTray
ifeq 72
65: aload 5
checkcast javax.print.attribute.standard.MediaTray
astore 7
start local 7 66: aload 0
getfield sun.print.ServiceDialog$MediaPanel.cbSource:Ljavax/swing/JComboBox;
aload 0
getfield sun.print.ServiceDialog$MediaPanel.sources:Ljava/util/Vector;
aload 7
invokevirtual java.util.Vector.indexOf:(Ljava/lang/Object;)I
iconst_1
iadd
invokevirtual javax.swing.JComboBox.setSelectedIndex:(I)V
end local 7 67: goto 72
68: StackMap locals:
StackMap stack:
aload 0
getfield sun.print.ServiceDialog$MediaPanel.cbSize:Ljavax/swing/JComboBox;
aload 0
getfield sun.print.ServiceDialog$MediaPanel.sizes:Ljava/util/Vector;
invokevirtual java.util.Vector.size:()I
ifle 69
iconst_0
goto 70
StackMap locals:
StackMap stack: javax.swing.JComboBox
69: iconst_m1
StackMap locals: sun.print.ServiceDialog$MediaPanel java.lang.Class java.lang.Class int int javax.print.attribute.standard.Media javax.print.attribute.standard.Media
StackMap stack: javax.swing.JComboBox int
70: invokevirtual javax.swing.JComboBox.setSelectedIndex:(I)V
71: aload 0
getfield sun.print.ServiceDialog$MediaPanel.cbSource:Ljavax/swing/JComboBox;
iconst_0
invokevirtual javax.swing.JComboBox.setSelectedIndex:(I)V
72: StackMap locals:
StackMap stack:
aload 0
getfield sun.print.ServiceDialog$MediaPanel.this$0:Lsun/print/ServiceDialog;
getfield sun.print.ServiceDialog.asCurrent:Ljavax/print/attribute/HashPrintRequestAttributeSet;
aload 2
invokevirtual javax.print.attribute.HashPrintRequestAttributeSet.get:(Ljava/lang/Class;)Ljavax/print/attribute/Attribute;
checkcast sun.print.SunAlternateMedia
astore 7
start local 7 73: aload 7
ifnull 78
74: aload 7
invokevirtual sun.print.SunAlternateMedia.getMedia:()Ljavax/print/attribute/standard/Media;
astore 8
start local 8 75: aload 8
instanceof javax.print.attribute.standard.MediaTray
ifeq 78
76: aload 8
checkcast javax.print.attribute.standard.MediaTray
astore 9
start local 9 77: aload 0
getfield sun.print.ServiceDialog$MediaPanel.cbSource:Ljavax/swing/JComboBox;
aload 0
getfield sun.print.ServiceDialog$MediaPanel.sources:Ljava/util/Vector;
aload 9
invokevirtual java.util.Vector.indexOf:(Ljava/lang/Object;)I
iconst_1
iadd
invokevirtual javax.swing.JComboBox.setSelectedIndex:(I)V
end local 9 end local 8 78: StackMap locals: sun.print.SunAlternateMedia
StackMap stack:
aload 0
getfield sun.print.ServiceDialog$MediaPanel.cbSize:Ljavax/swing/JComboBox;
invokevirtual javax.swing.JComboBox.getSelectedIndex:()I
istore 8
start local 8 79: iload 8
iflt 81
iload 8
aload 0
getfield sun.print.ServiceDialog$MediaPanel.sizes:Ljava/util/Vector;
invokevirtual java.util.Vector.size:()I
if_icmpge 81
80: aload 0
getfield sun.print.ServiceDialog$MediaPanel.this$0:Lsun/print/ServiceDialog;
getfield sun.print.ServiceDialog.asCurrent:Ljavax/print/attribute/HashPrintRequestAttributeSet;
aload 0
getfield sun.print.ServiceDialog$MediaPanel.sizes:Ljava/util/Vector;
iload 8
invokevirtual java.util.Vector.get:(I)Ljava/lang/Object;
checkcast javax.print.attribute.standard.MediaSizeName
invokevirtual javax.print.attribute.HashPrintRequestAttributeSet.add:(Ljavax/print/attribute/Attribute;)Z
pop
81: StackMap locals: int
StackMap stack:
aload 0
getfield sun.print.ServiceDialog$MediaPanel.cbSource:Ljavax/swing/JComboBox;
invokevirtual javax.swing.JComboBox.getSelectedIndex:()I
istore 8
82: iload 8
iconst_1
if_icmplt 88
iload 8
aload 0
getfield sun.print.ServiceDialog$MediaPanel.sources:Ljava/util/Vector;
invokevirtual java.util.Vector.size:()I
iconst_1
iadd
if_icmpge 88
83: aload 0
getfield sun.print.ServiceDialog$MediaPanel.sources:Ljava/util/Vector;
iload 8
iconst_1
isub
invokevirtual java.util.Vector.get:(I)Ljava/lang/Object;
checkcast javax.print.attribute.standard.MediaTray
astore 9
start local 9 84: aload 5
instanceof javax.print.attribute.standard.MediaTray
ifeq 87
85: aload 0
getfield sun.print.ServiceDialog$MediaPanel.this$0:Lsun/print/ServiceDialog;
getfield sun.print.ServiceDialog.asCurrent:Ljavax/print/attribute/HashPrintRequestAttributeSet;
aload 9
invokevirtual javax.print.attribute.HashPrintRequestAttributeSet.add:(Ljavax/print/attribute/Attribute;)Z
pop
86: goto 88
87: StackMap locals: javax.print.attribute.standard.MediaTray
StackMap stack:
aload 0
getfield sun.print.ServiceDialog$MediaPanel.this$0:Lsun/print/ServiceDialog;
getfield sun.print.ServiceDialog.asCurrent:Ljavax/print/attribute/HashPrintRequestAttributeSet;
new sun.print.SunAlternateMedia
dup
aload 9
invokespecial sun.print.SunAlternateMedia.<init>:(Ljavax/print/attribute/standard/Media;)V
invokevirtual javax.print.attribute.HashPrintRequestAttributeSet.add:(Ljavax/print/attribute/Attribute;)Z
pop
end local 9 end local 8 end local 7 end local 6 end local 5 88: StackMap locals: sun.print.ServiceDialog$MediaPanel java.lang.Class java.lang.Class int int
StackMap stack:
aload 0
getfield sun.print.ServiceDialog$MediaPanel.cbSize:Ljavax/swing/JComboBox;
aload 0
invokevirtual javax.swing.JComboBox.addItemListener:(Ljava/awt/event/ItemListener;)V
89: aload 0
getfield sun.print.ServiceDialog$MediaPanel.cbSource:Ljavax/swing/JComboBox;
aload 0
invokevirtual javax.swing.JComboBox.addItemListener:(Ljava/awt/event/ItemListener;)V
90: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 91 0 this Lsun/print/ServiceDialog$MediaPanel;
1 91 1 mdCategory Ljava/lang/Class;
2 91 2 amCategory Ljava/lang/Class;
3 91 3 mediaSupported Z
17 31 4 values Ljava/lang/Object;
19 31 5 media [Ljavax/print/attribute/standard/Media;
20 31 6 i I
22 29 7 medium Ljavax/print/attribute/standard/Media;
34 91 4 msSupported Z
43 88 5 medium Ljavax/print/attribute/standard/Media;
44 88 6 defMedia Ljavax/print/attribute/standard/Media;
62 63 7 ms Ljavax/print/attribute/standard/MediaSizeName;
66 67 7 mt Ljavax/print/attribute/standard/MediaTray;
73 88 7 alt Lsun/print/SunAlternateMedia;
75 78 8 md Ljavax/print/attribute/standard/Media;
77 78 9 mt Ljavax/print/attribute/standard/MediaTray;
79 88 8 selIndex I
84 88 9 mt Ljavax/print/attribute/standard/MediaTray;
}
SourceFile: "ServiceDialog.java"
NestHost: sun.print.ServiceDialog
InnerClasses:
private MarginsPanel = sun.print.ServiceDialog$MarginsPanel of sun.print.ServiceDialog
private MediaPanel = sun.print.ServiceDialog$MediaPanel of sun.print.ServiceDialog