class sun.awt.X11.XLabelPeer extends sun.awt.X11.XComponentPeer implements java.awt.peer.LabelPeer
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: sun.awt.X11.XLabelPeer
  super_class: sun.awt.X11.XComponentPeer
{
  static final int TEXT_XPAD;
    descriptor: I
    flags: (0x0018) ACC_STATIC, ACC_FINAL
    ConstantValue: 8

  static final int TEXT_YPAD;
    descriptor: I
    flags: (0x0018) ACC_STATIC, ACC_FINAL
    ConstantValue: 6

  java.lang.String label;
    descriptor: Ljava/lang/String;
    flags: (0x0000) 

  int alignment;
    descriptor: I
    flags: (0x0000) 

  java.awt.FontMetrics cachedFontMetrics;
    descriptor: Ljava/awt/FontMetrics;
    flags: (0x0000) 

  java.awt.Font oldfont;
    descriptor: Ljava/awt/Font;
    flags: (0x0000) 

  java.awt.FontMetrics getFontMetrics();
    descriptor: ()Ljava/awt/FontMetrics;
    flags: (0x0000) 
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // sun.awt.X11.XLabelPeer this
         0: .line 46
            aload 0 /* this */
            getfield sun.awt.X11.XLabelPeer.cachedFontMetrics:Ljava/awt/FontMetrics;
            ifnull 2
         1: .line 47
            aload 0 /* this */
            getfield sun.awt.X11.XLabelPeer.cachedFontMetrics:Ljava/awt/FontMetrics;
            areturn
         2: .line 48
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 0 /* this */
            invokevirtual sun.awt.X11.XLabelPeer.getPeerFont:()Ljava/awt/Font;
            invokevirtual sun.awt.X11.XLabelPeer.getFontMetrics:(Ljava/awt/Font;)Ljava/awt/FontMetrics;
            areturn
        end local 0 // sun.awt.X11.XLabelPeer this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lsun/awt/X11/XLabelPeer;

  void preInit(sun.awt.X11.XCreateWindowParams);
    descriptor: (Lsun/awt/X11/XCreateWindowParams;)V
    flags: (0x0000) 
    Code:
      stack=2, locals=3, args_size=2
        start local 0 // sun.awt.X11.XLabelPeer this
        start local 1 // sun.awt.X11.XCreateWindowParams params
         0: .line 53
            aload 0 /* this */
            aload 1 /* params */
            invokespecial sun.awt.X11.XComponentPeer.preInit:(Lsun/awt/X11/XCreateWindowParams;)V
         1: .line 54
            aload 0 /* this */
            getfield sun.awt.X11.XLabelPeer.target:Ljava/awt/Component;
            checkcast java.awt.Label
            astore 2 /* target */
        start local 2 // java.awt.Label target
         2: .line 55
            aload 0 /* this */
            aload 2 /* target */
            invokevirtual java.awt.Label.getText:()Ljava/lang/String;
            putfield sun.awt.X11.XLabelPeer.label:Ljava/lang/String;
         3: .line 56
            aload 0 /* this */
            getfield sun.awt.X11.XLabelPeer.label:Ljava/lang/String;
            ifnonnull 5
         4: .line 57
            aload 0 /* this */
            ldc ""
            putfield sun.awt.X11.XLabelPeer.label:Ljava/lang/String;
         5: .line 59
      StackMap locals: java.awt.Label
      StackMap stack:
            aload 0 /* this */
            aload 2 /* target */
            invokevirtual java.awt.Label.getAlignment:()I
            putfield sun.awt.X11.XLabelPeer.alignment:I
         6: .line 60
            return
        end local 2 // java.awt.Label target
        end local 1 // sun.awt.X11.XCreateWindowParams params
        end local 0 // sun.awt.X11.XLabelPeer this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    7     0    this  Lsun/awt/X11/XLabelPeer;
            0    7     1  params  Lsun/awt/X11/XCreateWindowParams;
            2    7     2  target  Ljava/awt/Label;
    MethodParameters:
        Name  Flags
      params  

  void <init>(java.awt.Label);
    descriptor: (Ljava/awt/Label;)V
    flags: (0x0000) 
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // sun.awt.X11.XLabelPeer this
        start local 1 // java.awt.Label target
         0: .line 63
            aload 0 /* this */
            aload 1 /* target */
            invokespecial sun.awt.X11.XComponentPeer.<init>:(Ljava/awt/Component;)V
         1: .line 64
            return
        end local 1 // java.awt.Label target
        end local 0 // sun.awt.X11.XLabelPeer this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    2     0    this  Lsun/awt/X11/XLabelPeer;
            0    2     1  target  Ljava/awt/Label;
    MethodParameters:
        Name  Flags
      target  

  public java.awt.Dimension getMinimumSize();
    descriptor: ()Ljava/awt/Dimension;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=3, args_size=1
        start local 0 // sun.awt.X11.XLabelPeer this
         0: .line 70
            aload 0 /* this */
            invokevirtual sun.awt.X11.XLabelPeer.getFontMetrics:()Ljava/awt/FontMetrics;
            astore 1 /* fm */
        start local 1 // java.awt.FontMetrics fm
         1: .line 73
            aload 1 /* fm */
            aload 0 /* this */
            getfield sun.awt.X11.XLabelPeer.label:Ljava/lang/String;
            invokevirtual java.awt.FontMetrics.stringWidth:(Ljava/lang/String;)I
            istore 2 /* w */
        start local 2 // int w
         2: .line 74
            goto 5
        end local 2 // int w
         3: .line 75
      StackMap locals: sun.awt.X11.XLabelPeer java.awt.FontMetrics
      StackMap stack: java.lang.NullPointerException
            pop
         4: .line 76
            iconst_0
            istore 2 /* w */
        start local 2 // int w
         5: .line 78
      StackMap locals: int
      StackMap stack:
            new java.awt.Dimension
            dup
            iload 2 /* w */
            bipush 8
            iadd
         6: .line 79
            aload 1 /* fm */
            invokevirtual java.awt.FontMetrics.getAscent:()I
            aload 1 /* fm */
            invokevirtual java.awt.FontMetrics.getMaxDescent:()I
            iadd
            bipush 6
            iadd
         7: .line 78
            invokespecial java.awt.Dimension.<init>:(II)V
            areturn
        end local 2 // int w
        end local 1 // java.awt.FontMetrics fm
        end local 0 // sun.awt.X11.XLabelPeer this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    8     0  this  Lsun/awt/X11/XLabelPeer;
            1    8     1    fm  Ljava/awt/FontMetrics;
            2    3     2     w  I
            5    8     2     w  I
      Exception table:
        from    to  target  type
           1     2       3  Class java.lang.NullPointerException

  void paintPeer(java.awt.Graphics);
    descriptor: (Ljava/awt/Graphics;)V
    flags: (0x0000) 
    Code:
      stack=5, locals=6, args_size=2
        start local 0 // sun.awt.X11.XLabelPeer this
        start local 1 // java.awt.Graphics g
         0: .line 90
            iconst_0
            istore 2 /* textX */
        start local 2 // int textX
         1: .line 91
            iconst_0
            istore 3 /* textY */
        start local 3 // int textY
         2: .line 92
            aload 1 /* g */
            aload 0 /* this */
            invokevirtual sun.awt.X11.XLabelPeer.getPeerBackground:()Ljava/awt/Color;
            invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
         3: .line 93
            aload 1 /* g */
            iconst_0
            iconst_0
            aload 0 /* this */
            getfield sun.awt.X11.XLabelPeer.width:I
            aload 0 /* this */
            getfield sun.awt.X11.XLabelPeer.height:I
            invokevirtual java.awt.Graphics.fillRect:(IIII)V
         4: .line 95
            aload 0 /* this */
            invokevirtual sun.awt.X11.XLabelPeer.getPeerFont:()Ljava/awt/Font;
            astore 4 /* f */
        start local 4 // java.awt.Font f
         5: .line 96
            aload 1 /* g */
            aload 4 /* f */
            invokevirtual java.awt.Graphics.setFont:(Ljava/awt/Font;)V
         6: .line 97
            aload 1 /* g */
            invokevirtual java.awt.Graphics.getFontMetrics:()Ljava/awt/FontMetrics;
            astore 5 /* fm */
        start local 5 // java.awt.FontMetrics fm
         7: .line 99
            aload 0 /* this */
            getfield sun.awt.X11.XLabelPeer.cachedFontMetrics:Ljava/awt/FontMetrics;
            ifnonnull 10
         8: .line 101
            aload 0 /* this */
            aload 5 /* fm */
            putfield sun.awt.X11.XLabelPeer.cachedFontMetrics:Ljava/awt/FontMetrics;
         9: .line 102
            goto 12
        10: .line 105
      StackMap locals: sun.awt.X11.XLabelPeer java.awt.Graphics int int java.awt.Font java.awt.FontMetrics
      StackMap stack:
            aload 0 /* this */
            getfield sun.awt.X11.XLabelPeer.oldfont:Ljava/awt/Font;
            aload 4 /* f */
            if_acmpeq 12
        11: .line 106
            aload 0 /* this */
            aload 5 /* fm */
            putfield sun.awt.X11.XLabelPeer.cachedFontMetrics:Ljava/awt/FontMetrics;
        12: .line 109
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.awt.X11.XLabelPeer.alignment:I
            tableswitch { // 0 - 2
                    0: 13
                    1: 19
                    2: 16
              default: 21
          }
        13: .line 111
      StackMap locals:
      StackMap stack:
            iconst_2
            istore 2 /* textX */
        14: .line 112
            aload 0 /* this */
            getfield sun.awt.X11.XLabelPeer.height:I
            aload 5 /* fm */
            invokevirtual java.awt.FontMetrics.getMaxAscent:()I
            iadd
            aload 5 /* fm */
            invokevirtual java.awt.FontMetrics.getMaxDescent:()I
            isub
            iconst_2
            idiv
            istore 3 /* textY */
        15: .line 113
            goto 21
        16: .line 115
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.awt.X11.XLabelPeer.width:I
            aload 5 /* fm */
            aload 0 /* this */
            getfield sun.awt.X11.XLabelPeer.label:Ljava/lang/String;
            invokevirtual java.awt.FontMetrics.stringWidth:(Ljava/lang/String;)I
            iconst_2
            iadd
            isub
            istore 2 /* textX */
        17: .line 116
            aload 0 /* this */
            getfield sun.awt.X11.XLabelPeer.height:I
            aload 5 /* fm */
            invokevirtual java.awt.FontMetrics.getMaxAscent:()I
            iadd
            aload 5 /* fm */
            invokevirtual java.awt.FontMetrics.getMaxDescent:()I
            isub
            iconst_2
            idiv
            istore 3 /* textY */
        18: .line 117
            goto 21
        19: .line 119
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.awt.X11.XLabelPeer.width:I
            aload 5 /* fm */
            aload 0 /* this */
            getfield sun.awt.X11.XLabelPeer.label:Ljava/lang/String;
            invokevirtual java.awt.FontMetrics.stringWidth:(Ljava/lang/String;)I
            isub
            iconst_2
            idiv
            istore 2 /* textX */
        20: .line 120
            aload 0 /* this */
            getfield sun.awt.X11.XLabelPeer.height:I
            aload 5 /* fm */
            invokevirtual java.awt.FontMetrics.getMaxAscent:()I
            iadd
            aload 5 /* fm */
            invokevirtual java.awt.FontMetrics.getMaxDescent:()I
            isub
            iconst_2
            idiv
            istore 3 /* textY */
        21: .line 123
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual sun.awt.X11.XLabelPeer.isEnabled:()Z
            ifeq 25
        22: .line 124
            aload 1 /* g */
            aload 0 /* this */
            invokevirtual sun.awt.X11.XLabelPeer.getPeerForeground:()Ljava/awt/Color;
            invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
        23: .line 125
            aload 1 /* g */
            aload 0 /* this */
            getfield sun.awt.X11.XLabelPeer.label:Ljava/lang/String;
            iload 2 /* textX */
            iload 3 /* textY */
            invokevirtual java.awt.Graphics.drawString:(Ljava/lang/String;II)V
        24: .line 126
            goto 29
        25: .line 128
      StackMap locals:
      StackMap stack:
            aload 1 /* g */
            aload 0 /* this */
            invokevirtual sun.awt.X11.XLabelPeer.getPeerBackground:()Ljava/awt/Color;
            invokevirtual java.awt.Color.brighter:()Ljava/awt/Color;
            invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
        26: .line 129
            aload 1 /* g */
            aload 0 /* this */
            getfield sun.awt.X11.XLabelPeer.label:Ljava/lang/String;
            iload 2 /* textX */
            iload 3 /* textY */
            invokevirtual java.awt.Graphics.drawString:(Ljava/lang/String;II)V
        27: .line 130
            aload 1 /* g */
            aload 0 /* this */
            invokevirtual sun.awt.X11.XLabelPeer.getPeerBackground:()Ljava/awt/Color;
            invokevirtual java.awt.Color.darker:()Ljava/awt/Color;
            invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
        28: .line 131
            aload 1 /* g */
            aload 0 /* this */
            getfield sun.awt.X11.XLabelPeer.label:Ljava/lang/String;
            iload 2 /* textX */
            iconst_1
            isub
            iload 3 /* textY */
            iconst_1
            isub
            invokevirtual java.awt.Graphics.drawString:(Ljava/lang/String;II)V
        29: .line 133
      StackMap locals:
      StackMap stack:
            return
        end local 5 // java.awt.FontMetrics fm
        end local 4 // java.awt.Font f
        end local 3 // int textY
        end local 2 // int textX
        end local 1 // java.awt.Graphics g
        end local 0 // sun.awt.X11.XLabelPeer this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0   30     0   this  Lsun/awt/X11/XLabelPeer;
            0   30     1      g  Ljava/awt/Graphics;
            1   30     2  textX  I
            2   30     3  textY  I
            5   30     4      f  Ljava/awt/Font;
            7   30     5     fm  Ljava/awt/FontMetrics;
    MethodParameters:
      Name  Flags
      g     final

  public void setText(java.lang.String);
    descriptor: (Ljava/lang/String;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // sun.awt.X11.XLabelPeer this
        start local 1 // java.lang.String label
         0: .line 137
            aload 1 /* label */
            ifnonnull 2
         1: .line 138
            ldc ""
            astore 1 /* label */
         2: .line 140
      StackMap locals:
      StackMap stack:
            aload 1 /* label */
            aload 0 /* this */
            getfield sun.awt.X11.XLabelPeer.label:Ljava/lang/String;
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 5
         3: .line 141
            aload 0 /* this */
            aload 1 /* label */
            putfield sun.awt.X11.XLabelPeer.label:Ljava/lang/String;
         4: .line 142
            aload 0 /* this */
            invokevirtual sun.awt.X11.XLabelPeer.repaint:()V
         5: .line 144
      StackMap locals:
      StackMap stack:
            return
        end local 1 // java.lang.String label
        end local 0 // sun.awt.X11.XLabelPeer this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    6     0   this  Lsun/awt/X11/XLabelPeer;
            0    6     1  label  Ljava/lang/String;
    MethodParameters:
       Name  Flags
      label  

  public void setAlignment(int);
    descriptor: (I)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // sun.awt.X11.XLabelPeer this
        start local 1 // int alignment
         0: .line 148
            aload 0 /* this */
            getfield sun.awt.X11.XLabelPeer.alignment:I
            iload 1 /* alignment */
            if_icmpeq 3
         1: .line 149
            aload 0 /* this */
            iload 1 /* alignment */
            putfield sun.awt.X11.XLabelPeer.alignment:I
         2: .line 150
            aload 0 /* this */
            invokevirtual sun.awt.X11.XLabelPeer.repaint:()V
         3: .line 152
      StackMap locals:
      StackMap stack:
            return
        end local 1 // int alignment
        end local 0 // sun.awt.X11.XLabelPeer this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    4     0       this  Lsun/awt/X11/XLabelPeer;
            0    4     1  alignment  I
    MethodParameters:
           Name  Flags
      alignment  final
}
SourceFile: "XLabelPeer.java"