public class extends javax.swing.plaf.basic.BasicMenuItemUI
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.swing.plaf.basic.BasicMenuUI
super_class: javax.swing.plaf.basic.BasicMenuItemUI
{
protected javax.swing.event.ChangeListener ;
descriptor: Ljavax/swing/event/ChangeListener;
flags: (0x0004) ACC_PROTECTED
protected javax.swing.event.MenuListener ;
descriptor: Ljavax/swing/event/MenuListener;
flags: (0x0004) ACC_PROTECTED
private int ;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private javax.swing.InputMap ;
descriptor: Ljavax/swing/InputMap;
flags: (0x0002) ACC_PRIVATE
private static final boolean ;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private static final boolean ;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private static final boolean ;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private static boolean ;
descriptor: Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void ();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: iconst_1
putstatic javax.swing.plaf.basic.BasicMenuUI.crossMenuMnemonic:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void ();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial javax.swing.plaf.basic.BasicMenuItemUI.<init>:()V
1: aload 0
iconst_0
putfield javax.swing.plaf.basic.BasicMenuUI.lastMnemonic:I
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/plaf/basic/BasicMenuUI;
public static javax.swing.plaf.ComponentUI (javax.swing.JComponent);
descriptor: (Ljavax/swing/JComponent;)Ljavax/swing/plaf/ComponentUI;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: new javax.swing.plaf.basic.BasicMenuUI
dup
invokespecial javax.swing.plaf.basic.BasicMenuUI.<init>:()V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 x Ljavax/swing/JComponent;
MethodParameters:
Name Flags
x
static void (javax.swing.plaf.basic.LazyActionMap);
descriptor: (Ljavax/swing/plaf/basic/LazyActionMap;)V
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: aload 0
invokestatic javax.swing.plaf.basic.BasicMenuItemUI.loadActionMap:(Ljavax/swing/plaf/basic/LazyActionMap;)V
1: aload 0
new javax.swing.plaf.basic.BasicMenuUI$Actions
dup
ldc "selectMenu"
aconst_null
iconst_1
invokespecial javax.swing.plaf.basic.BasicMenuUI$Actions.<init>:(Ljava/lang/String;Ljavax/swing/JMenu;Z)V
invokevirtual javax.swing.plaf.basic.LazyActionMap.put:(Ljavax/swing/Action;)V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 map Ljavax/swing/plaf/basic/LazyActionMap;
MethodParameters:
Name Flags
map
protected void ();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial javax.swing.plaf.basic.BasicMenuItemUI.installDefaults:()V
1: aload 0
invokevirtual javax.swing.plaf.basic.BasicMenuUI.updateDefaultBackgroundColor:()V
2: aload 0
getfield javax.swing.plaf.basic.BasicMenuUI.menuItem:Ljavax/swing/JMenuItem;
checkcast javax.swing.JMenu
sipush 200
invokevirtual javax.swing.JMenu.setDelay:(I)V
3: ldc "Menu.crossMenuMnemonic"
invokestatic javax.swing.UIManager.getBoolean:(Ljava/lang/Object;)Z
putstatic javax.swing.plaf.basic.BasicMenuUI.crossMenuMnemonic:Z
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/plaf/basic/BasicMenuUI;
protected java.lang.String ();
descriptor: ()Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "Menu"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/basic/BasicMenuUI;
protected void ();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial javax.swing.plaf.basic.BasicMenuItemUI.installListeners:()V
1: aload 0
getfield javax.swing.plaf.basic.BasicMenuUI.changeListener:Ljavax/swing/event/ChangeListener;
ifnonnull 3
2: aload 0
aload 0
aload 0
getfield javax.swing.plaf.basic.BasicMenuUI.menuItem:Ljavax/swing/JMenuItem;
invokevirtual javax.swing.plaf.basic.BasicMenuUI.createChangeListener:(Ljavax/swing/JComponent;)Ljavax/swing/event/ChangeListener;
putfield javax.swing.plaf.basic.BasicMenuUI.changeListener:Ljavax/swing/event/ChangeListener;
3: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.plaf.basic.BasicMenuUI.changeListener:Ljavax/swing/event/ChangeListener;
ifnull 5
4: aload 0
getfield javax.swing.plaf.basic.BasicMenuUI.menuItem:Ljavax/swing/JMenuItem;
aload 0
getfield javax.swing.plaf.basic.BasicMenuUI.changeListener:Ljavax/swing/event/ChangeListener;
invokevirtual javax.swing.JMenuItem.addChangeListener:(Ljavax/swing/event/ChangeListener;)V
5: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.plaf.basic.BasicMenuUI.menuListener:Ljavax/swing/event/MenuListener;
ifnonnull 7
6: aload 0
aload 0
aload 0
getfield javax.swing.plaf.basic.BasicMenuUI.menuItem:Ljavax/swing/JMenuItem;
invokevirtual javax.swing.plaf.basic.BasicMenuUI.createMenuListener:(Ljavax/swing/JComponent;)Ljavax/swing/event/MenuListener;
putfield javax.swing.plaf.basic.BasicMenuUI.menuListener:Ljavax/swing/event/MenuListener;
7: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.plaf.basic.BasicMenuUI.menuListener:Ljavax/swing/event/MenuListener;
ifnull 9
8: aload 0
getfield javax.swing.plaf.basic.BasicMenuUI.menuItem:Ljavax/swing/JMenuItem;
checkcast javax.swing.JMenu
aload 0
getfield javax.swing.plaf.basic.BasicMenuUI.menuListener:Ljavax/swing/event/MenuListener;
invokevirtual javax.swing.JMenu.addMenuListener:(Ljavax/swing/event/MenuListener;)V
9: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljavax/swing/plaf/basic/BasicMenuUI;
protected void ();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial javax.swing.plaf.basic.BasicMenuItemUI.installKeyboardActions:()V
1: aload 0
invokevirtual javax.swing.plaf.basic.BasicMenuUI.updateMnemonicBinding:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/plaf/basic/BasicMenuUI;
void ();
descriptor: ()V
flags: (0x0000)
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.plaf.basic.BasicMenuUI.menuItem:Ljavax/swing/JMenuItem;
ldc Ljavax/swing/plaf/basic/BasicMenuUI;
1: new java.lang.StringBuilder
dup
aload 0
invokevirtual javax.swing.plaf.basic.BasicMenuUI.getPropertyPrefix:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".actionMap"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
2: invokestatic javax.swing.plaf.basic.LazyActionMap.installLazyActionMap:(Ljavax/swing/JComponent;Ljava/lang/Class;Ljava/lang/String;)V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/plaf/basic/BasicMenuUI;
void ();
descriptor: ()V
flags: (0x0000)
Code:
stack=4, locals=8, args_size=1
start local 0 0: aload 0
getfield javax.swing.plaf.basic.BasicMenuUI.menuItem:Ljavax/swing/JMenuItem;
invokevirtual javax.swing.JMenuItem.getModel:()Ljavax/swing/ButtonModel;
invokeinterface javax.swing.ButtonModel.getMnemonic:()I
istore 1
start local 1 1: aload 0
getfield javax.swing.plaf.basic.BasicMenuUI.menuItem:Ljavax/swing/JMenuItem;
aload 0
2: ldc "Menu.shortcutKeys"
3: invokestatic sun.swing.DefaultLookup.get:(Ljavax/swing/JComponent;Ljavax/swing/plaf/ComponentUI;Ljava/lang/String;)Ljava/lang/Object;
checkcast int[]
astore 2
start local 2 4: aload 2
ifnonnull 8
5: iconst_2
newarray 10
dup
iconst_0
bipush 8
iastore
dup
iconst_1
6: bipush 40
iastore
7: astore 2
8: StackMap locals: int int[]
StackMap stack:
iload 1
aload 0
getfield javax.swing.plaf.basic.BasicMenuUI.lastMnemonic:I
if_icmpne 10
9: return
10: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.plaf.basic.BasicMenuUI.menuItem:Ljavax/swing/JMenuItem;
iconst_2
11: invokestatic javax.swing.SwingUtilities.getUIInputMap:(Ljavax/swing/JComponent;I)Ljavax/swing/InputMap;
astore 3
start local 3 12: aload 0
getfield javax.swing.plaf.basic.BasicMenuUI.lastMnemonic:I
ifeq 20
aload 3
ifnull 20
13: aload 2
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 19
StackMap locals: javax.swing.plaf.basic.BasicMenuUI int int[] javax.swing.InputMap top int int int[]
StackMap stack:
14: aload 7
iload 5
iaload
istore 4
start local 4 15: aload 3
16: aload 0
getfield javax.swing.plaf.basic.BasicMenuUI.lastMnemonic:I
iload 4
iconst_0
17: invokestatic javax.swing.KeyStroke.getKeyStroke:(IIZ)Ljavax/swing/KeyStroke;
invokevirtual javax.swing.InputMap.remove:(Ljavax/swing/KeyStroke;)V
end local 4 18: iinc 5 1
StackMap locals:
StackMap stack:
19: iload 5
iload 6
if_icmplt 14
20: StackMap locals: javax.swing.plaf.basic.BasicMenuUI int int[] javax.swing.InputMap
StackMap stack:
iload 1
ifeq 35
21: aload 3
ifnonnull 26
22: aload 0
iconst_2
invokevirtual javax.swing.plaf.basic.BasicMenuUI.createInputMap:(I)Ljavax/swing/InputMap;
astore 3
23: aload 0
getfield javax.swing.plaf.basic.BasicMenuUI.menuItem:Ljavax/swing/JMenuItem;
iconst_2
24: aload 3
25: invokestatic javax.swing.SwingUtilities.replaceUIInputMap:(Ljavax/swing/JComponent;ILjavax/swing/InputMap;)V
26: StackMap locals:
StackMap stack:
aload 2
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 34
StackMap locals: javax.swing.plaf.basic.BasicMenuUI int int[] javax.swing.InputMap top int int int[]
StackMap stack:
27: aload 7
iload 5
iaload
istore 4
start local 4 28: aload 3
iload 1
29: iload 4
iconst_0
30: invokestatic javax.swing.KeyStroke.getKeyStroke:(IIZ)Ljavax/swing/KeyStroke;
31: ldc "selectMenu"
32: invokevirtual javax.swing.InputMap.put:(Ljavax/swing/KeyStroke;Ljava/lang/Object;)V
end local 4 33: iinc 5 1
StackMap locals:
StackMap stack:
34: iload 5
iload 6
if_icmplt 27
35: StackMap locals: javax.swing.plaf.basic.BasicMenuUI int int[] javax.swing.InputMap
StackMap stack:
aload 0
iload 1
putfield javax.swing.plaf.basic.BasicMenuUI.lastMnemonic:I
36: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 37 0 this Ljavax/swing/plaf/basic/BasicMenuUI;
1 37 1 mnemonic I
4 37 2 shortcutKeys [I
12 37 3 windowInputMap Ljavax/swing/InputMap;
15 18 4 shortcutKey I
28 33 4 shortcutKey I
protected void ();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial javax.swing.plaf.basic.BasicMenuItemUI.uninstallKeyboardActions:()V
1: aload 0
iconst_0
putfield javax.swing.plaf.basic.BasicMenuUI.lastMnemonic:I
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/plaf/basic/BasicMenuUI;
protected javax.swing.event.MouseInputListener (javax.swing.JComponent);
descriptor: (Ljavax/swing/JComponent;)Ljavax/swing/event/MouseInputListener;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.plaf.basic.BasicMenuUI.getHandler:()Ljavax/swing/plaf/basic/BasicMenuItemUI$Handler;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/basic/BasicMenuUI;
0 1 1 c Ljavax/swing/JComponent;
MethodParameters:
Name Flags
c
protected javax.swing.event.MenuListener (javax.swing.JComponent);
descriptor: (Ljavax/swing/JComponent;)Ljavax/swing/event/MenuListener;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/basic/BasicMenuUI;
0 1 1 c Ljavax/swing/JComponent;
MethodParameters:
Name Flags
c
protected javax.swing.event.ChangeListener (javax.swing.JComponent);
descriptor: (Ljavax/swing/JComponent;)Ljavax/swing/event/ChangeListener;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/basic/BasicMenuUI;
0 1 1 c Ljavax/swing/JComponent;
MethodParameters:
Name Flags
c
protected java.beans.PropertyChangeListener (javax.swing.JComponent);
descriptor: (Ljavax/swing/JComponent;)Ljava/beans/PropertyChangeListener;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.plaf.basic.BasicMenuUI.getHandler:()Ljavax/swing/plaf/basic/BasicMenuItemUI$Handler;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/basic/BasicMenuUI;
0 1 1 c Ljavax/swing/JComponent;
MethodParameters:
Name Flags
c
javax.swing.plaf.basic.BasicMenuItemUI$Handler getHandler();
descriptor: ()Ljavax/swing/plaf/basic/BasicMenuItemUI$Handler;
flags: (0x0000)
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.plaf.basic.BasicMenuUI.handler:Ljavax/swing/plaf/basic/BasicMenuItemUI$Handler;
ifnonnull 2
1: aload 0
new javax.swing.plaf.basic.BasicMenuUI$Handler
dup
aload 0
invokespecial javax.swing.plaf.basic.BasicMenuUI$Handler.<init>:(Ljavax/swing/plaf/basic/BasicMenuUI;)V
putfield javax.swing.plaf.basic.BasicMenuUI.handler:Ljavax/swing/plaf/basic/BasicMenuItemUI$Handler;
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.plaf.basic.BasicMenuUI.handler:Ljavax/swing/plaf/basic/BasicMenuItemUI$Handler;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/plaf/basic/BasicMenuUI;
protected void ();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.plaf.basic.BasicMenuUI.menuItem:Ljavax/swing/JMenuItem;
iconst_0
invokevirtual javax.swing.JMenuItem.setArmed:(Z)V
1: aload 0
getfield javax.swing.plaf.basic.BasicMenuUI.menuItem:Ljavax/swing/JMenuItem;
iconst_0
invokevirtual javax.swing.JMenuItem.setSelected:(Z)V
2: aload 0
getfield javax.swing.plaf.basic.BasicMenuUI.menuItem:Ljavax/swing/JMenuItem;
invokevirtual javax.swing.JMenuItem.resetKeyboardActions:()V
3: aload 0
invokespecial javax.swing.plaf.basic.BasicMenuItemUI.uninstallDefaults:()V
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/plaf/basic/BasicMenuUI;
protected void ();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial javax.swing.plaf.basic.BasicMenuItemUI.uninstallListeners:()V
1: aload 0
getfield javax.swing.plaf.basic.BasicMenuUI.changeListener:Ljavax/swing/event/ChangeListener;
ifnull 3
2: aload 0
getfield javax.swing.plaf.basic.BasicMenuUI.menuItem:Ljavax/swing/JMenuItem;
aload 0
getfield javax.swing.plaf.basic.BasicMenuUI.changeListener:Ljavax/swing/event/ChangeListener;
invokevirtual javax.swing.JMenuItem.removeChangeListener:(Ljavax/swing/event/ChangeListener;)V
3: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.plaf.basic.BasicMenuUI.menuListener:Ljavax/swing/event/MenuListener;
ifnull 5
4: aload 0
getfield javax.swing.plaf.basic.BasicMenuUI.menuItem:Ljavax/swing/JMenuItem;
checkcast javax.swing.JMenu
aload 0
getfield javax.swing.plaf.basic.BasicMenuUI.menuListener:Ljavax/swing/event/MenuListener;
invokevirtual javax.swing.JMenu.removeMenuListener:(Ljavax/swing/event/MenuListener;)V
5: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield javax.swing.plaf.basic.BasicMenuUI.changeListener:Ljavax/swing/event/ChangeListener;
6: aload 0
aconst_null
putfield javax.swing.plaf.basic.BasicMenuUI.menuListener:Ljavax/swing/event/MenuListener;
7: aload 0
aconst_null
putfield javax.swing.plaf.basic.BasicMenuUI.handler:Ljavax/swing/plaf/basic/BasicMenuItemUI$Handler;
8: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljavax/swing/plaf/basic/BasicMenuUI;
protected javax.swing.event.MenuDragMouseListener (javax.swing.JComponent);
descriptor: (Ljavax/swing/JComponent;)Ljavax/swing/event/MenuDragMouseListener;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.plaf.basic.BasicMenuUI.getHandler:()Ljavax/swing/plaf/basic/BasicMenuItemUI$Handler;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/basic/BasicMenuUI;
0 1 1 c Ljavax/swing/JComponent;
MethodParameters:
Name Flags
c
protected javax.swing.event.MenuKeyListener (javax.swing.JComponent);
descriptor: (Ljavax/swing/JComponent;)Ljavax/swing/event/MenuKeyListener;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.plaf.basic.BasicMenuUI.getHandler:()Ljavax/swing/plaf/basic/BasicMenuItemUI$Handler;
checkcast javax.swing.event.MenuKeyListener
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/basic/BasicMenuUI;
0 1 1 c Ljavax/swing/JComponent;
MethodParameters:
Name Flags
c
public java.awt.Dimension (javax.swing.JComponent);
descriptor: (Ljavax/swing/JComponent;)Ljava/awt/Dimension;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.plaf.basic.BasicMenuUI.menuItem:Ljavax/swing/JMenuItem;
checkcast javax.swing.JMenu
invokevirtual javax.swing.JMenu.isTopLevelMenu:()Z
ifeq 2
1: aload 1
invokevirtual javax.swing.JComponent.getPreferredSize:()Ljava/awt/Dimension;
goto 3
StackMap locals:
StackMap stack:
2: aconst_null
3: StackMap locals:
StackMap stack: java.awt.Dimension
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/plaf/basic/BasicMenuUI;
0 4 1 c Ljavax/swing/JComponent;
MethodParameters:
Name Flags
c
public java.awt.Dimension (javax.swing.JComponent);
descriptor: (Ljavax/swing/JComponent;)Ljava/awt/Dimension;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.plaf.basic.BasicMenuUI.menuItem:Ljavax/swing/JMenuItem;
checkcast javax.swing.JMenu
invokevirtual javax.swing.JMenu.isTopLevelMenu:()Z
ifeq 3
1: aload 1
invokevirtual javax.swing.JComponent.getPreferredSize:()Ljava/awt/Dimension;
astore 2
start local 2 2: new java.awt.Dimension
dup
aload 2
getfield java.awt.Dimension.width:I
sipush 32767
invokespecial java.awt.Dimension.<init>:(II)V
areturn
end local 2 3: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/plaf/basic/BasicMenuUI;
0 4 1 c Ljavax/swing/JComponent;
2 3 2 d Ljava/awt/Dimension;
MethodParameters:
Name Flags
c
protected void (javax.swing.JMenu);
descriptor: (Ljavax/swing/JMenu;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=8, locals=3, args_size=2
start local 0 start local 1 0: new javax.swing.Timer
dup
aload 1
invokevirtual javax.swing.JMenu.getDelay:()I
new javax.swing.plaf.basic.BasicMenuUI$Actions
dup
1: ldc "selectMenu"
aload 1
iconst_0
invokespecial javax.swing.plaf.basic.BasicMenuUI$Actions.<init>:(Ljava/lang/String;Ljavax/swing/JMenu;Z)V
2: invokespecial javax.swing.Timer.<init>:(ILjava/awt/event/ActionListener;)V
astore 2
start local 2 3: aload 2
iconst_0
invokevirtual javax.swing.Timer.setRepeats:(Z)V
4: aload 2
invokevirtual javax.swing.Timer.start:()V
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/swing/plaf/basic/BasicMenuUI;
0 6 1 menu Ljavax/swing/JMenu;
3 6 2 timer Ljavax/swing/Timer;
MethodParameters:
Name Flags
menu
private static void (javax.swing.MenuElement[], javax.swing.MenuElement);
descriptor: ([Ljavax/swing/MenuElement;Ljavax/swing/MenuElement;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
arraylength
iconst_1
iadd
anewarray javax.swing.MenuElement
astore 2
start local 2 1: aload 0
iconst_0
aload 2
iconst_0
aload 0
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
2: aload 2
aload 0
arraylength
aload 1
aastore
3: invokestatic javax.swing.MenuSelectionManager.defaultManager:()Ljavax/swing/MenuSelectionManager;
aload 2
invokevirtual javax.swing.MenuSelectionManager.setSelectedPath:([Ljavax/swing/MenuElement;)V
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 path [Ljavax/swing/MenuElement;
0 5 1 elem Ljavax/swing/MenuElement;
1 5 2 newPath [Ljavax/swing/MenuElement;
MethodParameters:
Name Flags
path
elem
private void ();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=1
start local 0 0: ldc "Menu.useMenuBarBackgroundForTopLevel"
invokestatic javax.swing.UIManager.getBoolean:(Ljava/lang/Object;)Z
ifne 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.plaf.basic.BasicMenuUI.menuItem:Ljavax/swing/JMenuItem;
checkcast javax.swing.JMenu
astore 1
start local 1 3: aload 1
invokevirtual javax.swing.JMenu.getBackground:()Ljava/awt/Color;
instanceof javax.swing.plaf.UIResource
ifeq 8
4: aload 1
invokevirtual javax.swing.JMenu.isTopLevelMenu:()Z
ifeq 7
5: aload 1
ldc "MenuBar.background"
invokestatic javax.swing.UIManager.getColor:(Ljava/lang/Object;)Ljava/awt/Color;
invokevirtual javax.swing.JMenu.setBackground:(Ljava/awt/Color;)V
6: goto 8
7: StackMap locals: javax.swing.JMenu
StackMap stack:
aload 1
new java.lang.StringBuilder
dup
aload 0
invokevirtual javax.swing.plaf.basic.BasicMenuUI.getPropertyPrefix:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".background"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic javax.swing.UIManager.getColor:(Ljava/lang/Object;)Ljava/awt/Color;
invokevirtual javax.swing.JMenu.setBackground:(Ljava/awt/Color;)V
8: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljavax/swing/plaf/basic/BasicMenuUI;
3 9 1 menu Ljavax/swing/JMenu;
}
SourceFile: "BasicMenuUI.java"
NestMembers:
javax.swing.plaf.basic.BasicMenuUI$Actions javax.swing.plaf.basic.BasicMenuUI$ChangeHandler javax.swing.plaf.basic.BasicMenuUI$Handler javax.swing.plaf.basic.BasicMenuUI$MouseInputHandler
InnerClasses:
Handler = javax.swing.plaf.basic.BasicMenuItemUI$Handler of javax.swing.plaf.basic.BasicMenuItemUI
private Actions = javax.swing.plaf.basic.BasicMenuUI$Actions of javax.swing.plaf.basic.BasicMenuUI
public ChangeHandler = javax.swing.plaf.basic.BasicMenuUI$ChangeHandler of javax.swing.plaf.basic.BasicMenuUI
private Handler = javax.swing.plaf.basic.BasicMenuUI$Handler of javax.swing.plaf.basic.BasicMenuUI
protected MouseInputHandler = javax.swing.plaf.basic.BasicMenuUI$MouseInputHandler of javax.swing.plaf.basic.BasicMenuUI