public class javax.swing.Box extends javax.swing.JComponent implements javax.accessibility.Accessible
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.swing.Box
super_class: javax.swing.JComponent
{
public void <init>(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial javax.swing.JComponent.<init>:()V
1: aload 0
new javax.swing.BoxLayout
dup
aload 0
iload 1
invokespecial javax.swing.BoxLayout.<init>:(Ljava/awt/Container;I)V
invokespecial javax.swing.JComponent.setLayout:(Ljava/awt/LayoutManager;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/Box;
0 3 1 axis I
MethodParameters:
Name Flags
axis
public static javax.swing.Box createHorizontalBox();
descriptor: ()Ljavax/swing/Box;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new javax.swing.Box
dup
iconst_0
invokespecial javax.swing.Box.<init>:(I)V
areturn
LocalVariableTable:
Start End Slot Name Signature
public static javax.swing.Box createVerticalBox();
descriptor: ()Ljavax/swing/Box;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new javax.swing.Box
dup
iconst_1
invokespecial javax.swing.Box.<init>:(I)V
areturn
LocalVariableTable:
Start End Slot Name Signature
public static java.awt.Component createRigidArea(java.awt.Dimension);
descriptor: (Ljava/awt/Dimension;)Ljava/awt/Component;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: new javax.swing.Box$Filler
dup
aload 0
aload 0
aload 0
invokespecial javax.swing.Box$Filler.<init>:(Ljava/awt/Dimension;Ljava/awt/Dimension;Ljava/awt/Dimension;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 d Ljava/awt/Dimension;
MethodParameters:
Name Flags
d
public static java.awt.Component createHorizontalStrut(int);
descriptor: (I)Ljava/awt/Component;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=8, locals=1, args_size=1
start local 0 0: new javax.swing.Box$Filler
dup
new java.awt.Dimension
dup
iload 0
iconst_0
invokespecial java.awt.Dimension.<init>:(II)V
new java.awt.Dimension
dup
iload 0
iconst_0
invokespecial java.awt.Dimension.<init>:(II)V
1: new java.awt.Dimension
dup
iload 0
sipush 32767
invokespecial java.awt.Dimension.<init>:(II)V
2: invokespecial javax.swing.Box$Filler.<init>:(Ljava/awt/Dimension;Ljava/awt/Dimension;Ljava/awt/Dimension;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 width I
MethodParameters:
Name Flags
width
public static java.awt.Component createVerticalStrut(int);
descriptor: (I)Ljava/awt/Component;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=8, locals=1, args_size=1
start local 0 0: new javax.swing.Box$Filler
dup
new java.awt.Dimension
dup
iconst_0
iload 0
invokespecial java.awt.Dimension.<init>:(II)V
new java.awt.Dimension
dup
iconst_0
iload 0
invokespecial java.awt.Dimension.<init>:(II)V
1: new java.awt.Dimension
dup
sipush 32767
iload 0
invokespecial java.awt.Dimension.<init>:(II)V
2: invokespecial javax.swing.Box$Filler.<init>:(Ljava/awt/Dimension;Ljava/awt/Dimension;Ljava/awt/Dimension;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 height I
MethodParameters:
Name Flags
height
public static java.awt.Component createGlue();
descriptor: ()Ljava/awt/Component;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=8, locals=0, args_size=0
0: new javax.swing.Box$Filler
dup
new java.awt.Dimension
dup
iconst_0
iconst_0
invokespecial java.awt.Dimension.<init>:(II)V
new java.awt.Dimension
dup
iconst_0
iconst_0
invokespecial java.awt.Dimension.<init>:(II)V
1: new java.awt.Dimension
dup
sipush 32767
sipush 32767
invokespecial java.awt.Dimension.<init>:(II)V
2: invokespecial javax.swing.Box$Filler.<init>:(Ljava/awt/Dimension;Ljava/awt/Dimension;Ljava/awt/Dimension;)V
areturn
LocalVariableTable:
Start End Slot Name Signature
public static java.awt.Component createHorizontalGlue();
descriptor: ()Ljava/awt/Component;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=8, locals=0, args_size=0
0: new javax.swing.Box$Filler
dup
new java.awt.Dimension
dup
iconst_0
iconst_0
invokespecial java.awt.Dimension.<init>:(II)V
new java.awt.Dimension
dup
iconst_0
iconst_0
invokespecial java.awt.Dimension.<init>:(II)V
1: new java.awt.Dimension
dup
sipush 32767
iconst_0
invokespecial java.awt.Dimension.<init>:(II)V
2: invokespecial javax.swing.Box$Filler.<init>:(Ljava/awt/Dimension;Ljava/awt/Dimension;Ljava/awt/Dimension;)V
areturn
LocalVariableTable:
Start End Slot Name Signature
public static java.awt.Component createVerticalGlue();
descriptor: ()Ljava/awt/Component;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=8, locals=0, args_size=0
0: new javax.swing.Box$Filler
dup
new java.awt.Dimension
dup
iconst_0
iconst_0
invokespecial java.awt.Dimension.<init>:(II)V
new java.awt.Dimension
dup
iconst_0
iconst_0
invokespecial java.awt.Dimension.<init>:(II)V
1: new java.awt.Dimension
dup
iconst_0
sipush 32767
invokespecial java.awt.Dimension.<init>:(II)V
2: invokespecial javax.swing.Box$Filler.<init>:(Ljava/awt/Dimension;Ljava/awt/Dimension;Ljava/awt/Dimension;)V
areturn
LocalVariableTable:
Start End Slot Name Signature
public void setLayout(java.awt.LayoutManager);
descriptor: (Ljava/awt/LayoutManager;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new java.awt.AWTError
dup
ldc "Illegal request"
invokespecial java.awt.AWTError.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/Box;
0 1 1 l Ljava/awt/LayoutManager;
MethodParameters:
Name Flags
l
protected void paintComponent(java.awt.Graphics);
descriptor: (Ljava/awt/Graphics;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.Box.ui:Ljavax/swing/plaf/ComponentUI;
ifnull 3
1: aload 0
aload 1
invokespecial javax.swing.JComponent.paintComponent:(Ljava/awt/Graphics;)V
2: goto 6
StackMap locals:
StackMap stack:
3: aload 0
invokevirtual javax.swing.Box.isOpaque:()Z
ifeq 6
4: aload 1
aload 0
invokevirtual javax.swing.Box.getBackground:()Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
5: aload 1
iconst_0
iconst_0
aload 0
invokevirtual javax.swing.Box.getWidth:()I
aload 0
invokevirtual javax.swing.Box.getHeight:()I
invokevirtual java.awt.Graphics.fillRect:(IIII)V
6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/swing/Box;
0 7 1 g Ljava/awt/Graphics;
MethodParameters:
Name Flags
g
public javax.accessibility.AccessibleContext getAccessibleContext();
descriptor: ()Ljavax/accessibility/AccessibleContext;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.Box.accessibleContext:Ljavax/accessibility/AccessibleContext;
ifnonnull 2
1: aload 0
new javax.swing.Box$AccessibleBox
dup
aload 0
invokespecial javax.swing.Box$AccessibleBox.<init>:(Ljavax/swing/Box;)V
putfield javax.swing.Box.accessibleContext:Ljavax/accessibility/AccessibleContext;
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.Box.accessibleContext:Ljavax/accessibility/AccessibleContext;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/Box;
}
SourceFile: "Box.java"
NestMembers:
javax.swing.Box$AccessibleBox javax.swing.Box$Filler javax.swing.Box$Filler$AccessibleBoxFiller
InnerClasses:
protected AccessibleBox = javax.swing.Box$AccessibleBox of javax.swing.Box
public Filler = javax.swing.Box$Filler of javax.swing.Box