public class sun.awt.X11.XPopupMenuPeer extends sun.awt.X11.XMenuWindow implements java.awt.peer.PopupMenuPeer
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: sun.awt.X11.XPopupMenuPeer
  super_class: sun.awt.X11.XMenuWindow
{
  private static sun.util.logging.PlatformLogger log;
    descriptor: Lsun/util/logging/PlatformLogger;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC

  private sun.awt.X11.XComponentPeer componentPeer;
    descriptor: Lsun/awt/X11/XComponentPeer;
    flags: (0x0002) ACC_PRIVATE

  private java.awt.PopupMenu popupMenuTarget;
    descriptor: Ljava/awt/PopupMenu;
    flags: (0x0002) ACC_PRIVATE

  private sun.awt.X11.XMenuPeer showingMousePressedSubmenu;
    descriptor: Lsun/awt/X11/XMenuPeer;
    flags: (0x0002) ACC_PRIVATE

  private static final int CAPTION_MARGIN_TOP;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 4

  private static final int CAPTION_SEPARATOR_HEIGHT;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 6

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 42
            ldc "sun.awt.X11.XBaseMenuWindow"
            invokestatic sun.util.logging.PlatformLogger.getLogger:(Ljava/lang/String;)Lsun/util/logging/PlatformLogger;
            putstatic sun.awt.X11.XPopupMenuPeer.log:Lsun/util/logging/PlatformLogger;
         1: .line 62
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  void <init>(java.awt.PopupMenu);
    descriptor: (Ljava/awt/PopupMenu;)V
    flags: (0x0000) 
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // sun.awt.X11.XPopupMenuPeer this
        start local 1 // java.awt.PopupMenu target
         0: .line 70
            aload 0 /* this */
            aconst_null
            invokespecial sun.awt.X11.XMenuWindow.<init>:(Lsun/awt/X11/XMenuPeer;)V
         1: .line 56
            aload 0 /* this */
            aconst_null
            putfield sun.awt.X11.XPopupMenuPeer.showingMousePressedSubmenu:Lsun/awt/X11/XMenuPeer;
         2: .line 71
            aload 0 /* this */
            aload 1 /* target */
            putfield sun.awt.X11.XPopupMenuPeer.popupMenuTarget:Ljava/awt/PopupMenu;
         3: .line 72
            return
        end local 1 // java.awt.PopupMenu target
        end local 0 // sun.awt.X11.XPopupMenuPeer this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    4     0    this  Lsun/awt/X11/XPopupMenuPeer;
            0    4     1  target  Ljava/awt/PopupMenu;
    MethodParameters:
        Name  Flags
      target  

  public void setFont(java.awt.Font);
    descriptor: (Ljava/awt/Font;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // sun.awt.X11.XPopupMenuPeer this
        start local 1 // java.awt.Font f
         0: .line 83
            aload 0 /* this */
            invokevirtual sun.awt.X11.XPopupMenuPeer.resetMapping:()V
         1: .line 84
            aload 0 /* this */
            aload 1 /* f */
            invokevirtual sun.awt.X11.XPopupMenuPeer.setItemsFont:(Ljava/awt/Font;)V
         2: .line 85
            aload 0 /* this */
            invokevirtual sun.awt.X11.XPopupMenuPeer.postPaintEvent:()V
         3: .line 86
            return
        end local 1 // java.awt.Font f
        end local 0 // sun.awt.X11.XPopupMenuPeer this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lsun/awt/X11/XPopupMenuPeer;
            0    4     1     f  Ljava/awt/Font;
    MethodParameters:
      Name  Flags
      f     

  public void setLabel(java.lang.String);
    descriptor: (Ljava/lang/String;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=2, args_size=2
        start local 0 // sun.awt.X11.XPopupMenuPeer this
        start local 1 // java.lang.String label
         0: .line 92
            aload 0 /* this */
            invokevirtual sun.awt.X11.XPopupMenuPeer.resetMapping:()V
         1: .line 93
            aload 0 /* this */
            invokevirtual sun.awt.X11.XPopupMenuPeer.postPaintEvent:()V
         2: .line 94
            return
        end local 1 // java.lang.String label
        end local 0 // sun.awt.X11.XPopupMenuPeer this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    3     0   this  Lsun/awt/X11/XPopupMenuPeer;
            0    3     1  label  Ljava/lang/String;
    MethodParameters:
       Name  Flags
      label  

  public void setEnabled(boolean);
    descriptor: (Z)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=2, args_size=2
        start local 0 // sun.awt.X11.XPopupMenuPeer this
        start local 1 // boolean enabled
         0: .line 98
            aload 0 /* this */
            invokevirtual sun.awt.X11.XPopupMenuPeer.postPaintEvent:()V
         1: .line 99
            return
        end local 1 // boolean enabled
        end local 0 // sun.awt.X11.XPopupMenuPeer this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    2     0     this  Lsun/awt/X11/XPopupMenuPeer;
            0    2     1  enabled  Z
    MethodParameters:
         Name  Flags
      enabled  

  public void enable();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // sun.awt.X11.XPopupMenuPeer this
         0: .line 106
            aload 0 /* this */
            iconst_1
            invokevirtual sun.awt.X11.XPopupMenuPeer.setEnabled:(Z)V
         1: .line 107
            return
        end local 0 // sun.awt.X11.XPopupMenuPeer this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lsun/awt/X11/XPopupMenuPeer;

  public void disable();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // sun.awt.X11.XPopupMenuPeer this
         0: .line 114
            aload 0 /* this */
            iconst_0
            invokevirtual sun.awt.X11.XPopupMenuPeer.setEnabled:(Z)V
         1: .line 115
            return
        end local 0 // sun.awt.X11.XPopupMenuPeer this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lsun/awt/X11/XPopupMenuPeer;

  public void addSeparator();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // sun.awt.X11.XPopupMenuPeer this
         0: .line 126
            getstatic sun.awt.X11.XPopupMenuPeer.log:Lsun/util/logging/PlatformLogger;
            getstatic sun.util.logging.PlatformLogger$Level.FINER:Lsun/util/logging/PlatformLogger$Level;
            invokevirtual sun.util.logging.PlatformLogger.isLoggable:(Lsun/util/logging/PlatformLogger$Level;)Z
            ifeq 2
         1: .line 127
            getstatic sun.awt.X11.XPopupMenuPeer.log:Lsun/util/logging/PlatformLogger;
            ldc "addSeparator is not implemented"
            invokevirtual sun.util.logging.PlatformLogger.finer:(Ljava/lang/String;)V
         2: .line 129
      StackMap locals:
      StackMap stack:
            return
        end local 0 // sun.awt.X11.XPopupMenuPeer this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lsun/awt/X11/XPopupMenuPeer;

  public void show(java.awt.Event);
    descriptor: (Ljava/awt/Event;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=7, args_size=2
        start local 0 // sun.awt.X11.XPopupMenuPeer this
        start local 1 // java.awt.Event e
         0: .line 135
            aload 0 /* this */
            aload 1 /* e */
            getfield java.awt.Event.target:Ljava/lang/Object;
            checkcast java.awt.Component
            putfield sun.awt.X11.XPopupMenuPeer.target:Ljava/awt/Component;
         1: .line 137
            aload 0 /* this */
            invokevirtual sun.awt.X11.XPopupMenuPeer.getMenuTargetItems:()Ljava/util/Vector;
            astore 2 /* targetItemVector */
        start local 2 // java.util.Vector targetItemVector
         2: .line 138
            aload 2 /* targetItemVector */
            ifnull 15
         3: .line 139
            aload 0 /* this */
            aload 2 /* targetItemVector */
            invokevirtual sun.awt.X11.XPopupMenuPeer.reloadItems:(Ljava/util/Vector;)V
         4: .line 141
            aload 0 /* this */
            getfield sun.awt.X11.XPopupMenuPeer.target:Ljava/awt/Component;
            invokevirtual java.awt.Component.getLocationOnScreen:()Ljava/awt/Point;
            astore 3 /* tl */
        start local 3 // java.awt.Point tl
         5: .line 142
            new java.awt.Point
            dup
            aload 3 /* tl */
            getfield java.awt.Point.x:I
            aload 1 /* e */
            getfield java.awt.Event.x:I
            iadd
            aload 3 /* tl */
            getfield java.awt.Point.y:I
            aload 1 /* e */
            getfield java.awt.Event.y:I
            iadd
            invokespecial java.awt.Point.<init>:(II)V
            astore 4 /* pt */
        start local 4 // java.awt.Point pt
         6: .line 145
            aload 0 /* this */
            invokevirtual sun.awt.X11.XPopupMenuPeer.ensureCreated:()Z
            ifne 8
         7: .line 146
            return
         8: .line 148
      StackMap locals: java.util.Vector java.awt.Point java.awt.Point
      StackMap stack:
            aload 0 /* this */
            invokevirtual sun.awt.X11.XPopupMenuPeer.getDesiredSize:()Ljava/awt/Dimension;
            astore 5 /* dim */
        start local 5 // java.awt.Dimension dim
         9: .line 151
            aload 0 /* this */
            aload 4 /* pt */
            aload 5 /* dim */
            invokevirtual sun.awt.X11.XPopupMenuPeer.getWindowBounds:(Ljava/awt/Point;Ljava/awt/Dimension;)Ljava/awt/Rectangle;
            astore 6 /* bounds */
        start local 6 // java.awt.Rectangle bounds
        10: .line 152
            aload 0 /* this */
            aload 6 /* bounds */
            invokevirtual sun.awt.X11.XPopupMenuPeer.reshape:(Ljava/awt/Rectangle;)V
        11: .line 153
            aload 0 /* this */
            iconst_1
            invokevirtual sun.awt.X11.XPopupMenuPeer.xSetVisible:(Z)V
        12: .line 154
            aload 0 /* this */
            invokevirtual sun.awt.X11.XPopupMenuPeer.toFront:()V
        13: .line 155
            aload 0 /* this */
            aconst_null
            iconst_0
            invokevirtual sun.awt.X11.XPopupMenuPeer.selectItem:(Lsun/awt/X11/XMenuItemPeer;Z)V
        14: .line 156
            aload 0 /* this */
            invokevirtual sun.awt.X11.XPopupMenuPeer.grabInput:()Z
            pop
        end local 6 // java.awt.Rectangle bounds
        end local 5 // java.awt.Dimension dim
        end local 4 // java.awt.Point pt
        end local 3 // java.awt.Point tl
        15: .line 158
      StackMap locals:
      StackMap stack:
            return
        end local 2 // java.util.Vector targetItemVector
        end local 1 // java.awt.Event e
        end local 0 // sun.awt.X11.XPopupMenuPeer this
      LocalVariableTable:
        Start  End  Slot              Name  Signature
            0   16     0              this  Lsun/awt/X11/XPopupMenuPeer;
            0   16     1                 e  Ljava/awt/Event;
            2   16     2  targetItemVector  Ljava/util/Vector;
            5   15     3                tl  Ljava/awt/Point;
            6   15     4                pt  Ljava/awt/Point;
            9   15     5               dim  Ljava/awt/Dimension;
           10   15     6            bounds  Ljava/awt/Rectangle;
    MethodParameters:
      Name  Flags
      e     

  java.awt.Font getTargetFont();
    descriptor: ()Ljava/awt/Font;
    flags: (0x0000) 
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // sun.awt.X11.XPopupMenuPeer this
         0: .line 168
            aload 0 /* this */
            getfield sun.awt.X11.XPopupMenuPeer.popupMenuTarget:Ljava/awt/PopupMenu;
            ifnonnull 2
         1: .line 169
            invokestatic sun.awt.X11.XWindow.getDefaultFont:()Ljava/awt/Font;
            areturn
         2: .line 171
      StackMap locals:
      StackMap stack:
            invokestatic sun.awt.AWTAccessor.getMenuComponentAccessor:()Lsun/awt/AWTAccessor$MenuComponentAccessor;
         3: .line 172
            aload 0 /* this */
            getfield sun.awt.X11.XPopupMenuPeer.popupMenuTarget:Ljava/awt/PopupMenu;
            invokeinterface sun.awt.AWTAccessor$MenuComponentAccessor.getFont_NoClientCode:(Ljava/awt/MenuComponent;)Ljava/awt/Font;
         4: .line 171
            areturn
        end local 0 // sun.awt.X11.XPopupMenuPeer this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Lsun/awt/X11/XPopupMenuPeer;

  java.lang.String getTargetLabel();
    descriptor: ()Ljava/lang/String;
    flags: (0x0000) 
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // sun.awt.X11.XPopupMenuPeer this
         0: .line 177
            aload 0 /* this */
            getfield sun.awt.X11.XPopupMenuPeer.target:Ljava/awt/Component;
            ifnonnull 2
         1: .line 178
            ldc ""
            areturn
         2: .line 180
      StackMap locals:
      StackMap stack:
            invokestatic sun.awt.AWTAccessor.getMenuItemAccessor:()Lsun/awt/AWTAccessor$MenuItemAccessor;
            aload 0 /* this */
            getfield sun.awt.X11.XPopupMenuPeer.popupMenuTarget:Ljava/awt/PopupMenu;
            invokeinterface sun.awt.AWTAccessor$MenuItemAccessor.getLabel:(Ljava/awt/MenuItem;)Ljava/lang/String;
            areturn
        end local 0 // sun.awt.X11.XPopupMenuPeer this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lsun/awt/X11/XPopupMenuPeer;

  boolean isTargetEnabled();
    descriptor: ()Z
    flags: (0x0000) 
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // sun.awt.X11.XPopupMenuPeer this
         0: .line 185
            aload 0 /* this */
            getfield sun.awt.X11.XPopupMenuPeer.popupMenuTarget:Ljava/awt/PopupMenu;
            ifnonnull 2
         1: .line 186
            iconst_0
            ireturn
         2: .line 188
      StackMap locals:
      StackMap stack:
            invokestatic sun.awt.AWTAccessor.getMenuItemAccessor:()Lsun/awt/AWTAccessor$MenuItemAccessor;
            aload 0 /* this */
            getfield sun.awt.X11.XPopupMenuPeer.popupMenuTarget:Ljava/awt/PopupMenu;
            invokeinterface sun.awt.AWTAccessor$MenuItemAccessor.isEnabled:(Ljava/awt/MenuItem;)Z
            ireturn
        end local 0 // sun.awt.X11.XPopupMenuPeer this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lsun/awt/X11/XPopupMenuPeer;

  java.util.Vector getMenuTargetItems();
    descriptor: ()Ljava/util/Vector;
    flags: (0x0000) 
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // sun.awt.X11.XPopupMenuPeer this
         0: .line 192
            aload 0 /* this */
            getfield sun.awt.X11.XPopupMenuPeer.popupMenuTarget:Ljava/awt/PopupMenu;
            ifnonnull 2
         1: .line 193
            aconst_null
            areturn
         2: .line 195
      StackMap locals:
      StackMap stack:
            invokestatic sun.awt.AWTAccessor.getMenuAccessor:()Lsun/awt/AWTAccessor$MenuAccessor;
            aload 0 /* this */
            getfield sun.awt.X11.XPopupMenuPeer.popupMenuTarget:Ljava/awt/PopupMenu;
            invokeinterface sun.awt.AWTAccessor$MenuAccessor.getItems:(Ljava/awt/Menu;)Ljava/util/Vector;
            areturn
        end local 0 // sun.awt.X11.XPopupMenuPeer this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lsun/awt/X11/XPopupMenuPeer;

  protected java.awt.Rectangle getWindowBounds(java.awt.Point, java.awt.Dimension);
    descriptor: (Ljava/awt/Point;Ljava/awt/Dimension;)Ljava/awt/Rectangle;
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=6, locals=6, args_size=3
        start local 0 // sun.awt.X11.XPopupMenuPeer this
        start local 1 // java.awt.Point origin
        start local 2 // java.awt.Dimension windowSize
         0: .line 217
            new java.awt.Rectangle
            dup
            aload 1 /* origin */
            getfield java.awt.Point.x:I
            aload 1 /* origin */
            getfield java.awt.Point.y:I
            iconst_0
            iconst_0
            invokespecial java.awt.Rectangle.<init>:(IIII)V
            astore 3 /* globalBounds */
        start local 3 // java.awt.Rectangle globalBounds
         1: .line 218
            invokestatic java.awt.Toolkit.getDefaultToolkit:()Ljava/awt/Toolkit;
            invokevirtual java.awt.Toolkit.getScreenSize:()Ljava/awt/Dimension;
            astore 4 /* screenSize */
        start local 4 // java.awt.Dimension screenSize
         2: .line 220
            aload 0 /* this */
            aload 3 /* globalBounds */
            aload 2 /* windowSize */
            aload 4 /* screenSize */
            invokevirtual sun.awt.X11.XPopupMenuPeer.fitWindowRight:(Ljava/awt/Rectangle;Ljava/awt/Dimension;Ljava/awt/Dimension;)Ljava/awt/Rectangle;
            astore 5 /* res */
        start local 5 // java.awt.Rectangle res
         3: .line 221
            aload 5 /* res */
            ifnull 5
         4: .line 222
            aload 5 /* res */
            areturn
         5: .line 224
      StackMap locals: java.awt.Rectangle java.awt.Dimension java.awt.Rectangle
      StackMap stack:
            aload 0 /* this */
            aload 3 /* globalBounds */
            aload 2 /* windowSize */
            aload 4 /* screenSize */
            invokevirtual sun.awt.X11.XPopupMenuPeer.fitWindowLeft:(Ljava/awt/Rectangle;Ljava/awt/Dimension;Ljava/awt/Dimension;)Ljava/awt/Rectangle;
            astore 5 /* res */
         6: .line 225
            aload 5 /* res */
            ifnull 8
         7: .line 226
            aload 5 /* res */
            areturn
         8: .line 228
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 3 /* globalBounds */
            aload 2 /* windowSize */
            aload 4 /* screenSize */
            invokevirtual sun.awt.X11.XPopupMenuPeer.fitWindowBelow:(Ljava/awt/Rectangle;Ljava/awt/Dimension;Ljava/awt/Dimension;)Ljava/awt/Rectangle;
            astore 5 /* res */
         9: .line 229
            aload 5 /* res */
            ifnull 11
        10: .line 230
            aload 5 /* res */
            areturn
        11: .line 232
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 3 /* globalBounds */
            aload 2 /* windowSize */
            aload 4 /* screenSize */
            invokevirtual sun.awt.X11.XPopupMenuPeer.fitWindowAbove:(Ljava/awt/Rectangle;Ljava/awt/Dimension;Ljava/awt/Dimension;)Ljava/awt/Rectangle;
            astore 5 /* res */
        12: .line 233
            aload 5 /* res */
            ifnull 14
        13: .line 234
            aload 5 /* res */
            areturn
        14: .line 236
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 2 /* windowSize */
            aload 4 /* screenSize */
            invokevirtual sun.awt.X11.XPopupMenuPeer.fitWindowToScreen:(Ljava/awt/Dimension;Ljava/awt/Dimension;)Ljava/awt/Rectangle;
            areturn
        end local 5 // java.awt.Rectangle res
        end local 4 // java.awt.Dimension screenSize
        end local 3 // java.awt.Rectangle globalBounds
        end local 2 // java.awt.Dimension windowSize
        end local 1 // java.awt.Point origin
        end local 0 // sun.awt.X11.XPopupMenuPeer this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0   15     0          this  Lsun/awt/X11/XPopupMenuPeer;
            0   15     1        origin  Ljava/awt/Point;
            0   15     2    windowSize  Ljava/awt/Dimension;
            1   15     3  globalBounds  Ljava/awt/Rectangle;
            2   15     4    screenSize  Ljava/awt/Dimension;
            3   15     5           res  Ljava/awt/Rectangle;
    MethodParameters:
            Name  Flags
      origin      
      windowSize  

  protected java.awt.Dimension getCaptionSize();
    descriptor: ()Ljava/awt/Dimension;
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=4, locals=10, args_size=1
        start local 0 // sun.awt.X11.XPopupMenuPeer this
         0: .line 250
            aload 0 /* this */
            invokevirtual sun.awt.X11.XPopupMenuPeer.getTargetLabel:()Ljava/lang/String;
            astore 1 /* s */
        start local 1 // java.lang.String s
         1: .line 251
            aload 1 /* s */
            ldc ""
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 3
         2: .line 252
            aconst_null
            areturn
         3: .line 254
      StackMap locals: java.lang.String
      StackMap stack:
            aload 0 /* this */
            invokevirtual sun.awt.X11.XPopupMenuPeer.getGraphics:()Ljava/awt/Graphics;
            astore 2 /* g */
        start local 2 // java.awt.Graphics g
         4: .line 255
            aload 2 /* g */
            ifnonnull 6
         5: .line 256
            aconst_null
            areturn
         6: .line 259
      StackMap locals: java.awt.Graphics
      StackMap stack:
            aload 2 /* g */
            aload 0 /* this */
            invokevirtual sun.awt.X11.XPopupMenuPeer.getTargetFont:()Ljava/awt/Font;
            invokevirtual java.awt.Graphics.setFont:(Ljava/awt/Font;)V
         7: .line 260
            aload 2 /* g */
            invokevirtual java.awt.Graphics.getFontMetrics:()Ljava/awt/FontMetrics;
            astore 3 /* fm */
        start local 3 // java.awt.FontMetrics fm
         8: .line 261
            aload 0 /* this */
            invokevirtual sun.awt.X11.XPopupMenuPeer.getTargetLabel:()Ljava/lang/String;
            astore 4 /* str */
        start local 4 // java.lang.String str
         9: .line 262
            aload 3 /* fm */
            aload 4 /* str */
            invokevirtual java.awt.FontMetrics.stringWidth:(Ljava/lang/String;)I
            istore 5 /* width */
        start local 5 // int width
        10: .line 263
            iconst_4
            aload 3 /* fm */
            invokevirtual java.awt.FontMetrics.getHeight:()I
            iadd
            bipush 6
            iadd
            istore 6 /* height */
        start local 6 // int height
        11: .line 264
            new java.awt.Dimension
            dup
            iload 5 /* width */
            iload 6 /* height */
            invokespecial java.awt.Dimension.<init>:(II)V
            astore 7 /* textDimension */
        start local 7 // java.awt.Dimension textDimension
        12: .line 265
            aload 7 /* textDimension */
            astore 9
        13: .line 267
            aload 2 /* g */
            invokevirtual java.awt.Graphics.dispose:()V
        14: .line 265
            aload 9
            areturn
        end local 7 // java.awt.Dimension textDimension
        end local 6 // int height
        end local 5 // int width
        end local 4 // java.lang.String str
        end local 3 // java.awt.FontMetrics fm
        15: .line 266
      StackMap locals:
      StackMap stack: java.lang.Throwable
            astore 8
        16: .line 267
            aload 2 /* g */
            invokevirtual java.awt.Graphics.dispose:()V
        17: .line 268
            aload 8
            athrow
        end local 2 // java.awt.Graphics g
        end local 1 // java.lang.String s
        end local 0 // sun.awt.X11.XPopupMenuPeer this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   18     0           this  Lsun/awt/X11/XPopupMenuPeer;
            1   18     1              s  Ljava/lang/String;
            4   18     2              g  Ljava/awt/Graphics;
            8   15     3             fm  Ljava/awt/FontMetrics;
            9   15     4            str  Ljava/lang/String;
           10   15     5          width  I
           11   15     6         height  I
           12   15     7  textDimension  Ljava/awt/Dimension;
      Exception table:
        from    to  target  type
           6    13      15  any

  protected void paintCaption(java.awt.Graphics, java.awt.Rectangle);
    descriptor: (Ljava/awt/Graphics;Ljava/awt/Rectangle;)V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=7, locals=10, args_size=3
        start local 0 // sun.awt.X11.XPopupMenuPeer this
        start local 1 // java.awt.Graphics g
        start local 2 // java.awt.Rectangle rect
         0: .line 277
            aload 0 /* this */
            invokevirtual sun.awt.X11.XPopupMenuPeer.getTargetLabel:()Ljava/lang/String;
            astore 3 /* s */
        start local 3 // java.lang.String s
         1: .line 278
            aload 3 /* s */
            ldc ""
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 3
         2: .line 279
            return
         3: .line 281
      StackMap locals: java.lang.String
      StackMap stack:
            aload 1 /* g */
            aload 0 /* this */
            invokevirtual sun.awt.X11.XPopupMenuPeer.getTargetFont:()Ljava/awt/Font;
            invokevirtual java.awt.Graphics.setFont:(Ljava/awt/Font;)V
         4: .line 282
            aload 1 /* g */
            invokevirtual java.awt.Graphics.getFontMetrics:()Ljava/awt/FontMetrics;
            astore 4 /* fm */
        start local 4 // java.awt.FontMetrics fm
         5: .line 283
            aload 0 /* this */
            invokevirtual sun.awt.X11.XPopupMenuPeer.getTargetLabel:()Ljava/lang/String;
            astore 5 /* str */
        start local 5 // java.lang.String str
         6: .line 284
            aload 4 /* fm */
            aload 5 /* str */
            invokevirtual java.awt.FontMetrics.stringWidth:(Ljava/lang/String;)I
            istore 6 /* width */
        start local 6 // int width
         7: .line 285
            aload 2 /* rect */
            getfield java.awt.Rectangle.x:I
            aload 2 /* rect */
            getfield java.awt.Rectangle.width:I
            iload 6 /* width */
            isub
            iconst_2
            idiv
            iadd
            istore 7 /* textx */
        start local 7 // int textx
         8: .line 286
            aload 2 /* rect */
            getfield java.awt.Rectangle.y:I
            iconst_4
            iadd
            aload 4 /* fm */
            invokevirtual java.awt.FontMetrics.getAscent:()I
            iadd
            istore 8 /* texty */
        start local 8 // int texty
         9: .line 287
            aload 2 /* rect */
            getfield java.awt.Rectangle.y:I
            aload 2 /* rect */
            getfield java.awt.Rectangle.height:I
            iadd
            iconst_3
            isub
            istore 9 /* sepy */
        start local 9 // int sepy
        10: .line 288
            aload 1 /* g */
            aload 0 /* this */
            invokevirtual sun.awt.X11.XPopupMenuPeer.isTargetEnabled:()Z
            ifeq 11
            aload 0 /* this */
            invokevirtual sun.awt.X11.XPopupMenuPeer.getForegroundColor:()Ljava/awt/Color;
            goto 12
      StackMap locals: sun.awt.X11.XPopupMenuPeer java.awt.Graphics java.awt.Rectangle java.lang.String java.awt.FontMetrics java.lang.String int int int int
      StackMap stack: java.awt.Graphics
        11: aload 0 /* this */
            invokevirtual sun.awt.X11.XPopupMenuPeer.getDisabledColor:()Ljava/awt/Color;
      StackMap locals: sun.awt.X11.XPopupMenuPeer java.awt.Graphics java.awt.Rectangle java.lang.String java.awt.FontMetrics java.lang.String int int int int
      StackMap stack: java.awt.Graphics java.awt.Color
        12: invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
        13: .line 289
            aload 1 /* g */
            aload 3 /* s */
            iload 7 /* textx */
            iload 8 /* texty */
            invokevirtual java.awt.Graphics.drawString:(Ljava/lang/String;II)V
        14: .line 290
            aload 0 /* this */
            aload 1 /* g */
            aload 2 /* rect */
            getfield java.awt.Rectangle.x:I
            iload 9 /* sepy */
            aload 2 /* rect */
            getfield java.awt.Rectangle.width:I
            iconst_2
            iconst_0
            invokevirtual sun.awt.X11.XPopupMenuPeer.draw3DRect:(Ljava/awt/Graphics;IIIIZ)V
        15: .line 291
            return
        end local 9 // int sepy
        end local 8 // int texty
        end local 7 // int textx
        end local 6 // int width
        end local 5 // java.lang.String str
        end local 4 // java.awt.FontMetrics fm
        end local 3 // java.lang.String s
        end local 2 // java.awt.Rectangle rect
        end local 1 // java.awt.Graphics g
        end local 0 // sun.awt.X11.XPopupMenuPeer this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0   16     0   this  Lsun/awt/X11/XPopupMenuPeer;
            0   16     1      g  Ljava/awt/Graphics;
            0   16     2   rect  Ljava/awt/Rectangle;
            1   16     3      s  Ljava/lang/String;
            5   16     4     fm  Ljava/awt/FontMetrics;
            6   16     5    str  Ljava/lang/String;
            7   16     6  width  I
            8   16     7  textx  I
            9   16     8  texty  I
           10   16     9   sepy  I
    MethodParameters:
      Name  Flags
      g     
      rect  

  protected void doDispose();
    descriptor: ()V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // sun.awt.X11.XPopupMenuPeer this
         0: .line 299
            aload 0 /* this */
            invokespecial sun.awt.X11.XMenuWindow.doDispose:()V
         1: .line 300
            aload 0 /* this */
            getfield sun.awt.X11.XPopupMenuPeer.popupMenuTarget:Ljava/awt/PopupMenu;
            aload 0 /* this */
            invokestatic sun.awt.X11.XToolkit.targetDisposedPeer:(Ljava/lang/Object;Ljava/lang/Object;)V
         2: .line 301
            return
        end local 0 // sun.awt.X11.XPopupMenuPeer this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lsun/awt/X11/XPopupMenuPeer;

  protected void handleEvent(java.awt.AWTEvent);
    descriptor: (Ljava/awt/AWTEvent;)V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // sun.awt.X11.XPopupMenuPeer this
        start local 1 // java.awt.AWTEvent event
         0: .line 304
            aload 1 /* event */
            invokevirtual java.awt.AWTEvent.getID:()I
            lookupswitch { // 9
                  401: 3
                  402: 3
                  500: 1
                  501: 1
                  502: 1
                  503: 1
                  504: 1
                  505: 1
                  506: 1
              default: 5
          }
         1: .line 312
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* event */
            checkcast java.awt.event.MouseEvent
            invokevirtual sun.awt.X11.XPopupMenuPeer.doHandleJavaMouseEvent:(Ljava/awt/event/MouseEvent;)V
         2: .line 313
            goto 6
         3: .line 316
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* event */
            checkcast java.awt.event.KeyEvent
            invokevirtual sun.awt.X11.XPopupMenuPeer.doHandleJavaKeyEvent:(Ljava/awt/event/KeyEvent;)V
         4: .line 317
            goto 6
         5: .line 319
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* event */
            invokespecial sun.awt.X11.XMenuWindow.handleEvent:(Ljava/awt/AWTEvent;)V
         6: .line 322
      StackMap locals:
      StackMap stack:
            return
        end local 1 // java.awt.AWTEvent event
        end local 0 // sun.awt.X11.XPopupMenuPeer this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    7     0   this  Lsun/awt/X11/XPopupMenuPeer;
            0    7     1  event  Ljava/awt/AWTEvent;
    MethodParameters:
       Name  Flags
      event  

  void ungrabInputImpl();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // sun.awt.X11.XPopupMenuPeer this
         0: .line 330
            aload 0 /* this */
            invokevirtual sun.awt.X11.XPopupMenuPeer.hide:()V
         1: .line 331
            return
        end local 0 // sun.awt.X11.XPopupMenuPeer this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lsun/awt/X11/XPopupMenuPeer;

  public void handleKeyPress(sun.awt.X11.XEvent);
    descriptor: (Lsun/awt/X11/XEvent;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=3, args_size=2
        start local 0 // sun.awt.X11.XPopupMenuPeer this
        start local 1 // sun.awt.X11.XEvent xev
         0: .line 345
            aload 1 /* xev */
            invokevirtual sun.awt.X11.XEvent.get_xkey:()Lsun/awt/X11/XKeyEvent;
            astore 2 /* xkey */
        start local 2 // sun.awt.X11.XKeyEvent xkey
         1: .line 346
            getstatic sun.awt.X11.XPopupMenuPeer.log:Lsun/util/logging/PlatformLogger;
            getstatic sun.util.logging.PlatformLogger$Level.FINE:Lsun/util/logging/PlatformLogger$Level;
            invokevirtual sun.util.logging.PlatformLogger.isLoggable:(Lsun/util/logging/PlatformLogger$Level;)Z
            ifeq 3
         2: .line 347
            getstatic sun.awt.X11.XPopupMenuPeer.log:Lsun/util/logging/PlatformLogger;
            aload 2 /* xkey */
            invokevirtual sun.awt.X11.XKeyEvent.toString:()Ljava/lang/String;
            invokevirtual sun.util.logging.PlatformLogger.fine:(Ljava/lang/String;)V
         3: .line 349
      StackMap locals: sun.awt.X11.XKeyEvent
      StackMap stack:
            aload 0 /* this */
            aload 1 /* xev */
            invokevirtual sun.awt.X11.XPopupMenuPeer.isEventDisabled:(Lsun/awt/X11/XEvent;)Z
            ifeq 5
         4: .line 350
            return
         5: .line 352
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual sun.awt.X11.XPopupMenuPeer.getEventSource:()Ljava/awt/Component;
            pop
         6: .line 353
            aload 0 /* this */
            aload 2 /* xkey */
            invokevirtual sun.awt.X11.XPopupMenuPeer.handleKeyPress:(Lsun/awt/X11/XKeyEvent;)V
         7: .line 354
            return
        end local 2 // sun.awt.X11.XKeyEvent xkey
        end local 1 // sun.awt.X11.XEvent xev
        end local 0 // sun.awt.X11.XPopupMenuPeer this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    8     0  this  Lsun/awt/X11/XPopupMenuPeer;
            0    8     1   xev  Lsun/awt/X11/XEvent;
            1    8     2  xkey  Lsun/awt/X11/XKeyEvent;
    MethodParameters:
      Name  Flags
      xev   
}
SourceFile: "XPopupMenuPeer.java"
InnerClasses:
  public abstract MenuAccessor = sun.awt.AWTAccessor$MenuAccessor of sun.awt.AWTAccessor
  public abstract MenuComponentAccessor = sun.awt.AWTAccessor$MenuComponentAccessor of sun.awt.AWTAccessor
  public abstract MenuItemAccessor = sun.awt.AWTAccessor$MenuItemAccessor of sun.awt.AWTAccessor
  public final Level = sun.util.logging.PlatformLogger$Level of sun.util.logging.PlatformLogger