public class extends javax.swing.plaf.MenuBarUI
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.swing.plaf.basic.BasicMenuBarUI
super_class: javax.swing.plaf.MenuBarUI
{
protected javax.swing.JMenuBar ;
descriptor: Ljavax/swing/JMenuBar;
flags: (0x0004) ACC_PROTECTED
protected java.awt.event.ContainerListener ;
descriptor: Ljava/awt/event/ContainerListener;
flags: (0x0004) ACC_PROTECTED
protected javax.swing.event.ChangeListener ;
descriptor: Ljavax/swing/event/ChangeListener;
flags: (0x0004) ACC_PROTECTED
private javax.swing.plaf.basic.BasicMenuBarUI$Handler handler;
descriptor: Ljavax/swing/plaf/basic/BasicMenuBarUI$Handler;
flags: (0x0002) ACC_PRIVATE
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.MenuBarUI.<init>:()V
1: aload 0
aconst_null
putfield javax.swing.plaf.basic.BasicMenuBarUI.menuBar:Ljavax/swing/JMenuBar;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/plaf/basic/BasicMenuBarUI;
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.BasicMenuBarUI
dup
invokespecial javax.swing.plaf.basic.BasicMenuBarUI.<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=4, locals=1, args_size=1
start local 0 0: aload 0
new javax.swing.plaf.basic.BasicMenuBarUI$Actions
dup
ldc "takeFocus"
invokespecial javax.swing.plaf.basic.BasicMenuBarUI$Actions.<init>:(Ljava/lang/String;)V
invokevirtual javax.swing.plaf.basic.LazyActionMap.put:(Ljavax/swing/Action;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 map Ljavax/swing/plaf/basic/LazyActionMap;
MethodParameters:
Name Flags
map
public void (javax.swing.JComponent);
descriptor: (Ljavax/swing/JComponent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
checkcast javax.swing.JMenuBar
putfield javax.swing.plaf.basic.BasicMenuBarUI.menuBar:Ljavax/swing/JMenuBar;
1: aload 0
invokevirtual javax.swing.plaf.basic.BasicMenuBarUI.installDefaults:()V
2: aload 0
invokevirtual javax.swing.plaf.basic.BasicMenuBarUI.installListeners:()V
3: aload 0
invokevirtual javax.swing.plaf.basic.BasicMenuBarUI.installKeyboardActions:()V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/plaf/basic/BasicMenuBarUI;
0 5 1 c Ljavax/swing/JComponent;
MethodParameters:
Name Flags
c
protected void ();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.plaf.basic.BasicMenuBarUI.menuBar:Ljavax/swing/JMenuBar;
invokevirtual javax.swing.JMenuBar.getLayout:()Ljava/awt/LayoutManager;
ifnull 2
1: aload 0
getfield javax.swing.plaf.basic.BasicMenuBarUI.menuBar:Ljavax/swing/JMenuBar;
invokevirtual javax.swing.JMenuBar.getLayout:()Ljava/awt/LayoutManager;
instanceof javax.swing.plaf.UIResource
ifeq 3
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.plaf.basic.BasicMenuBarUI.menuBar:Ljavax/swing/JMenuBar;
new javax.swing.plaf.basic.DefaultMenuLayout
dup
aload 0
getfield javax.swing.plaf.basic.BasicMenuBarUI.menuBar:Ljavax/swing/JMenuBar;
iconst_2
invokespecial javax.swing.plaf.basic.DefaultMenuLayout.<init>:(Ljava/awt/Container;I)V
invokevirtual javax.swing.JMenuBar.setLayout:(Ljava/awt/LayoutManager;)V
3: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.plaf.basic.BasicMenuBarUI.menuBar:Ljavax/swing/JMenuBar;
ldc "opaque"
getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
invokestatic javax.swing.LookAndFeel.installProperty:(Ljavax/swing/JComponent;Ljava/lang/String;Ljava/lang/Object;)V
4: aload 0
getfield javax.swing.plaf.basic.BasicMenuBarUI.menuBar:Ljavax/swing/JMenuBar;
ldc "MenuBar.border"
invokestatic javax.swing.LookAndFeel.installBorder:(Ljavax/swing/JComponent;Ljava/lang/String;)V
5: aload 0
getfield javax.swing.plaf.basic.BasicMenuBarUI.menuBar:Ljavax/swing/JMenuBar;
6: ldc "MenuBar.background"
7: ldc "MenuBar.foreground"
8: ldc "MenuBar.font"
9: invokestatic javax.swing.LookAndFeel.installColorsAndFont:(Ljavax/swing/JComponent;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
10: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljavax/swing/plaf/basic/BasicMenuBarUI;
protected void ();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
aload 0
invokevirtual javax.swing.plaf.basic.BasicMenuBarUI.createContainerListener:()Ljava/awt/event/ContainerListener;
putfield javax.swing.plaf.basic.BasicMenuBarUI.containerListener:Ljava/awt/event/ContainerListener;
1: aload 0
aload 0
invokevirtual javax.swing.plaf.basic.BasicMenuBarUI.createChangeListener:()Ljavax/swing/event/ChangeListener;
putfield javax.swing.plaf.basic.BasicMenuBarUI.changeListener:Ljavax/swing/event/ChangeListener;
2: iconst_0
istore 1
start local 1 3: goto 8
4: StackMap locals: int
StackMap stack:
aload 0
getfield javax.swing.plaf.basic.BasicMenuBarUI.menuBar:Ljavax/swing/JMenuBar;
iload 1
invokevirtual javax.swing.JMenuBar.getMenu:(I)Ljavax/swing/JMenu;
astore 2
start local 2 5: aload 2
ifnull 7
6: aload 2
invokevirtual javax.swing.JMenu.getModel:()Ljavax/swing/ButtonModel;
aload 0
getfield javax.swing.plaf.basic.BasicMenuBarUI.changeListener:Ljavax/swing/event/ChangeListener;
invokeinterface javax.swing.ButtonModel.addChangeListener:(Ljavax/swing/event/ChangeListener;)V
end local 2 7: StackMap locals:
StackMap stack:
iinc 1 1
StackMap locals:
StackMap stack:
8: iload 1
aload 0
getfield javax.swing.plaf.basic.BasicMenuBarUI.menuBar:Ljavax/swing/JMenuBar;
invokevirtual javax.swing.JMenuBar.getMenuCount:()I
if_icmplt 4
end local 1 9: aload 0
getfield javax.swing.plaf.basic.BasicMenuBarUI.menuBar:Ljavax/swing/JMenuBar;
aload 0
getfield javax.swing.plaf.basic.BasicMenuBarUI.containerListener:Ljava/awt/event/ContainerListener;
invokevirtual javax.swing.JMenuBar.addContainerListener:(Ljava/awt/event/ContainerListener;)V
10: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljavax/swing/plaf/basic/BasicMenuBarUI;
3 9 1 i I
5 7 2 menu Ljavax/swing/JMenu;
protected void ();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
iconst_2
invokevirtual javax.swing.plaf.basic.BasicMenuBarUI.getInputMap:(I)Ljavax/swing/InputMap;
astore 1
start local 1 1: aload 0
getfield javax.swing.plaf.basic.BasicMenuBarUI.menuBar:Ljavax/swing/JMenuBar;
2: iconst_2
aload 1
3: invokestatic javax.swing.SwingUtilities.replaceUIInputMap:(Ljavax/swing/JComponent;ILjavax/swing/InputMap;)V
4: aload 0
getfield javax.swing.plaf.basic.BasicMenuBarUI.menuBar:Ljavax/swing/JMenuBar;
ldc Ljavax/swing/plaf/basic/BasicMenuBarUI;
5: ldc "MenuBar.actionMap"
6: invokestatic javax.swing.plaf.basic.LazyActionMap.installLazyActionMap:(Ljavax/swing/JComponent;Ljava/lang/Class;Ljava/lang/String;)V
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/swing/plaf/basic/BasicMenuBarUI;
1 8 1 inputMap Ljavax/swing/InputMap;
javax.swing.InputMap (int);
descriptor: (I)Ljavax/swing/InputMap;
flags: (0x0000)
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: iload 1
iconst_2
if_icmpne 5
1: aload 0
getfield javax.swing.plaf.basic.BasicMenuBarUI.menuBar:Ljavax/swing/JMenuBar;
aload 0
ldc "MenuBar.windowBindings"
2: invokestatic sun.swing.DefaultLookup.get:(Ljavax/swing/JComponent;Ljavax/swing/plaf/ComponentUI;Ljava/lang/String;)Ljava/lang/Object;
checkcast java.lang.Object[]
astore 2
start local 2 3: aload 2
ifnull 5
4: aload 0
getfield javax.swing.plaf.basic.BasicMenuBarUI.menuBar:Ljavax/swing/JMenuBar;
aload 2
invokestatic javax.swing.LookAndFeel.makeComponentInputMap:(Ljavax/swing/JComponent;[Ljava/lang/Object;)Ljavax/swing/ComponentInputMap;
areturn
end local 2 5: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/swing/plaf/basic/BasicMenuBarUI;
0 6 1 condition I
3 5 2 bindings [Ljava/lang/Object;
MethodParameters:
Name Flags
condition
public void (javax.swing.JComponent);
descriptor: (Ljavax/swing/JComponent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.plaf.basic.BasicMenuBarUI.uninstallDefaults:()V
1: aload 0
invokevirtual javax.swing.plaf.basic.BasicMenuBarUI.uninstallListeners:()V
2: aload 0
invokevirtual javax.swing.plaf.basic.BasicMenuBarUI.uninstallKeyboardActions:()V
3: aload 0
aconst_null
putfield javax.swing.plaf.basic.BasicMenuBarUI.menuBar:Ljavax/swing/JMenuBar;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/plaf/basic/BasicMenuBarUI;
0 5 1 c Ljavax/swing/JComponent;
MethodParameters:
Name Flags
c
protected void ();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.plaf.basic.BasicMenuBarUI.menuBar:Ljavax/swing/JMenuBar;
ifnull 2
1: aload 0
getfield javax.swing.plaf.basic.BasicMenuBarUI.menuBar:Ljavax/swing/JMenuBar;
invokestatic javax.swing.LookAndFeel.uninstallBorder:(Ljavax/swing/JComponent;)V
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/plaf/basic/BasicMenuBarUI;
protected void ();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield javax.swing.plaf.basic.BasicMenuBarUI.menuBar:Ljavax/swing/JMenuBar;
aload 0
getfield javax.swing.plaf.basic.BasicMenuBarUI.containerListener:Ljava/awt/event/ContainerListener;
invokevirtual javax.swing.JMenuBar.removeContainerListener:(Ljava/awt/event/ContainerListener;)V
1: iconst_0
istore 1
start local 1 2: goto 7
3: StackMap locals: int
StackMap stack:
aload 0
getfield javax.swing.plaf.basic.BasicMenuBarUI.menuBar:Ljavax/swing/JMenuBar;
iload 1
invokevirtual javax.swing.JMenuBar.getMenu:(I)Ljavax/swing/JMenu;
astore 2
start local 2 4: aload 2
ifnull 6
5: aload 2
invokevirtual javax.swing.JMenu.getModel:()Ljavax/swing/ButtonModel;
aload 0
getfield javax.swing.plaf.basic.BasicMenuBarUI.changeListener:Ljavax/swing/event/ChangeListener;
invokeinterface javax.swing.ButtonModel.removeChangeListener:(Ljavax/swing/event/ChangeListener;)V
end local 2 6: StackMap locals:
StackMap stack:
iinc 1 1
StackMap locals:
StackMap stack:
7: iload 1
aload 0
getfield javax.swing.plaf.basic.BasicMenuBarUI.menuBar:Ljavax/swing/JMenuBar;
invokevirtual javax.swing.JMenuBar.getMenuCount:()I
if_icmplt 3
end local 1 8: aload 0
aconst_null
putfield javax.swing.plaf.basic.BasicMenuBarUI.containerListener:Ljava/awt/event/ContainerListener;
9: aload 0
aconst_null
putfield javax.swing.plaf.basic.BasicMenuBarUI.changeListener:Ljavax/swing/event/ChangeListener;
10: aload 0
aconst_null
putfield javax.swing.plaf.basic.BasicMenuBarUI.handler:Ljavax/swing/plaf/basic/BasicMenuBarUI$Handler;
11: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljavax/swing/plaf/basic/BasicMenuBarUI;
2 8 1 i I
4 6 2 menu Ljavax/swing/JMenu;
protected void ();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.plaf.basic.BasicMenuBarUI.menuBar:Ljavax/swing/JMenuBar;
iconst_2
1: aconst_null
2: invokestatic javax.swing.SwingUtilities.replaceUIInputMap:(Ljavax/swing/JComponent;ILjavax/swing/InputMap;)V
3: aload 0
getfield javax.swing.plaf.basic.BasicMenuBarUI.menuBar:Ljavax/swing/JMenuBar;
aconst_null
invokestatic javax.swing.SwingUtilities.replaceUIActionMap:(Ljavax/swing/JComponent;Ljavax/swing/ActionMap;)V
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/plaf/basic/BasicMenuBarUI;
protected java.awt.event.ContainerListener ();
descriptor: ()Ljava/awt/event/ContainerListener;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.plaf.basic.BasicMenuBarUI.getHandler:()Ljavax/swing/plaf/basic/BasicMenuBarUI$Handler;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/basic/BasicMenuBarUI;
protected javax.swing.event.ChangeListener ();
descriptor: ()Ljavax/swing/event/ChangeListener;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.plaf.basic.BasicMenuBarUI.getHandler:()Ljavax/swing/plaf/basic/BasicMenuBarUI$Handler;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/basic/BasicMenuBarUI;
private javax.swing.plaf.basic.BasicMenuBarUI$Handler getHandler();
descriptor: ()Ljavax/swing/plaf/basic/BasicMenuBarUI$Handler;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.plaf.basic.BasicMenuBarUI.handler:Ljavax/swing/plaf/basic/BasicMenuBarUI$Handler;
ifnonnull 2
1: aload 0
new javax.swing.plaf.basic.BasicMenuBarUI$Handler
dup
aload 0
invokespecial javax.swing.plaf.basic.BasicMenuBarUI$Handler.<init>:(Ljavax/swing/plaf/basic/BasicMenuBarUI;)V
putfield javax.swing.plaf.basic.BasicMenuBarUI.handler:Ljavax/swing/plaf/basic/BasicMenuBarUI$Handler;
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.plaf.basic.BasicMenuBarUI.handler:Ljavax/swing/plaf/basic/BasicMenuBarUI$Handler;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/plaf/basic/BasicMenuBarUI;
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: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/basic/BasicMenuBarUI;
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: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/basic/BasicMenuBarUI;
0 1 1 c Ljavax/swing/JComponent;
MethodParameters:
Name Flags
c
}
SourceFile: "BasicMenuBarUI.java"
NestMembers:
javax.swing.plaf.basic.BasicMenuBarUI$Actions javax.swing.plaf.basic.BasicMenuBarUI$Handler
InnerClasses:
private Actions = javax.swing.plaf.basic.BasicMenuBarUI$Actions of javax.swing.plaf.basic.BasicMenuBarUI
private Handler = javax.swing.plaf.basic.BasicMenuBarUI$Handler of javax.swing.plaf.basic.BasicMenuBarUI