.class public AllComponents

.super java/awt/Frame

.field private protected menubar Ljava/awt/MenuBar;
.field private protected file Ljava/awt/Menu;
.field private protected help Ljava/awt/Menu;
.field private protected okay Ljava/awt/Button;
.field private protected cancel Ljava/awt/Button;
.field private protected mylist Ljava/awt/List;
.field private protected choice Ljava/awt/Choice;
.field private protected checkbox_group Ljava/awt/CheckboxGroup;
.field private protected checkboxes Ljava/util/Vector;
.field private protected textfield Ljava/awt/TextField;
.field private protected textarea Ljava/awt/TextArea;
.field private protected scribble LScrollableScribble;
.field private protected file_dialog Ljava/awt/FileDialog;
.field private protected panel1 Ljava/awt/Panel;
.field private protected panel2 Ljava/awt/Panel;
.field private protected buttonpanel Ljava/awt/Panel;
.field private protected gridbag Ljava/awt/GridBagLayout;
.field private protected c Ljoos/lib/JoosConstants;

.method public <init>(Ljava/lang/String;)V
  .limit locals 2
  .limit stack 15
  aload_0
  aload_1
  invokenonvirtual java/awt/Frame/<init>(Ljava/lang/String;)V
  new joos/lib/JoosConstants
  dup
  invokenonvirtual joos/lib/JoosConstants/<init>()V
  aload_0
  swap
  putfield AllComponents/c Ljoos/lib/JoosConstants;
  new java/awt/GridBagLayout
  dup
  invokenonvirtual java/awt/GridBagLayout/<init>()V
  aload_0
  swap
  putfield AllComponents/gridbag Ljava/awt/GridBagLayout;
  new java/awt/MenuBar
  dup
  invokenonvirtual java/awt/MenuBar/<init>()V
  aload_0
  swap
  putfield AllComponents/menubar Ljava/awt/MenuBar;
  aload_0
  aload_0
  getfield AllComponents/menubar Ljava/awt/MenuBar;
  invokevirtual java/awt/Frame/setMenuBar(Ljava/awt/MenuBar;)V
  new java/awt/Menu
  dup
  ldc "File"
  iconst_0
  invokenonvirtual java/awt/Menu/<init>(Ljava/lang/String;Z)V
  aload_0
  swap
  putfield AllComponents/file Ljava/awt/Menu;
  aload_0
  getfield AllComponents/file Ljava/awt/Menu;
  new java/awt/MenuItem
  dup
  ldc "Open"
  invokenonvirtual java/awt/MenuItem/<init>(Ljava/lang/String;)V
  invokevirtual java/awt/Menu/add(Ljava/awt/MenuItem;)Ljava/awt/MenuItem;
  pop
  aload_0
  getfield AllComponents/file Ljava/awt/Menu;
  new java/awt/MenuItem
  dup
  ldc "Quit"
  invokenonvirtual java/awt/MenuItem/<init>(Ljava/lang/String;)V
  invokevirtual java/awt/Menu/add(Ljava/awt/MenuItem;)Ljava/awt/MenuItem;
  pop
  aload_0
  getfield AllComponents/menubar Ljava/awt/MenuBar;
  aload_0
  getfield AllComponents/file Ljava/awt/Menu;
  invokevirtual java/awt/MenuBar/add(Ljava/awt/Menu;)Ljava/awt/Menu;
  pop
  new java/awt/Menu
  dup
  ldc "Help"
  iconst_1
  invokenonvirtual java/awt/Menu/<init>(Ljava/lang/String;Z)V
  aload_0
  swap
  putfield AllComponents/help Ljava/awt/Menu;
  aload_0
  getfield AllComponents/help Ljava/awt/Menu;
  new java/awt/MenuItem
  dup
  ldc "About"
  invokenonvirtual java/awt/MenuItem/<init>(Ljava/lang/String;)V
  invokevirtual java/awt/Menu/add(Ljava/awt/MenuItem;)Ljava/awt/MenuItem;
  pop
  aload_0
  getfield AllComponents/menubar Ljava/awt/MenuBar;
  aload_0
  getfield AllComponents/help Ljava/awt/Menu;
  invokevirtual java/awt/MenuBar/add(Ljava/awt/Menu;)Ljava/awt/Menu;
  pop
  aload_0
  getfield AllComponents/menubar Ljava/awt/MenuBar;
  aload_0
  getfield AllComponents/help Ljava/awt/Menu;
  invokevirtual java/awt/MenuBar/setHelpMenu(Ljava/awt/Menu;)V
  new java/awt/Button
  dup
  ldc "Okay"
  invokenonvirtual java/awt/Button/<init>(Ljava/lang/String;)V
  aload_0
  swap
  putfield AllComponents/okay Ljava/awt/Button;
  new java/awt/Button
  dup
  ldc "Cancel"
  invokenonvirtual java/awt/Button/<init>(Ljava/lang/String;)V
  aload_0
  swap
  putfield AllComponents/cancel Ljava/awt/Button;
  new java/awt/Choice
  dup
  invokenonvirtual java/awt/Choice/<init>()V
  aload_0
  swap
  putfield AllComponents/choice Ljava/awt/Choice;
  aload_0
  getfield AllComponents/choice Ljava/awt/Choice;
  ldc "red"
  invokevirtual java/awt/Choice/addItem(Ljava/lang/String;)V
  aload_0
  getfield AllComponents/choice Ljava/awt/Choice;
  ldc "green"
  invokevirtual java/awt/Choice/addItem(Ljava/lang/String;)V
  aload_0
  getfield AllComponents/choice Ljava/awt/Choice;
  ldc "blue"
  invokevirtual java/awt/Choice/addItem(Ljava/lang/String;)V
  new java/awt/CheckboxGroup
  dup
  invokenonvirtual java/awt/CheckboxGroup/<init>()V
  aload_0
  swap
  putfield AllComponents/checkbox_group Ljava/awt/CheckboxGroup;
  new java/util/Vector
  dup
  iconst_3
  iconst_3
  invokenonvirtual java/util/Vector/<init>(II)V
  aload_0
  swap
  putfield AllComponents/checkboxes Ljava/util/Vector;
  aload_0
  getfield AllComponents/checkboxes Ljava/util/Vector;
  new java/awt/Checkbox
  dup
  ldc "vanilla"
  aload_0
  getfield AllComponents/checkbox_group Ljava/awt/CheckboxGroup;
  iconst_0
  invokenonvirtual java/awt/Checkbox/<init>(Ljava/lang/String;Ljava/awt/CheckboxGroup;Z)V
  invokevirtual java/util/Vector/addElement(Ljava/lang/Object;)V
  aload_0
  getfield AllComponents/checkboxes Ljava/util/Vector;
  new java/awt/Checkbox
  dup
  ldc "chocolate"
  aload_0
  getfield AllComponents/checkbox_group Ljava/awt/CheckboxGroup;
  iconst_1
  invokenonvirtual java/awt/Checkbox/<init>(Ljava/lang/String;Ljava/awt/CheckboxGroup;Z)V
  invokevirtual java/util/Vector/addElement(Ljava/lang/Object;)V
  aload_0
  getfield AllComponents/checkboxes Ljava/util/Vector;
  new java/awt/Checkbox
  dup
  ldc "strawberry"
  aload_0
  getfield AllComponents/checkbox_group Ljava/awt/CheckboxGroup;
  iconst_0
  invokenonvirtual java/awt/Checkbox/<init>(Ljava/lang/String;Ljava/awt/CheckboxGroup;Z)V
  invokevirtual java/util/Vector/addElement(Ljava/lang/Object;)V
  new java/awt/List
  dup
  iconst_4
  iconst_1
  invokenonvirtual java/awt/List/<init>(IZ)V
  aload_0
  swap
  putfield AllComponents/mylist Ljava/awt/List;
  aload_0
  getfield AllComponents/mylist Ljava/awt/List;
  ldc "JOOS"
  invokevirtual java/awt/List/addItem(Ljava/lang/String;)V
  aload_0
  getfield AllComponents/mylist Ljava/awt/List;
  ldc "Java"
  invokevirtual java/awt/List/addItem(Ljava/lang/String;)V
  aload_0
  getfield AllComponents/mylist Ljava/awt/List;
  ldc "C"
  invokevirtual java/awt/List/addItem(Ljava/lang/String;)V
  aload_0
  getfield AllComponents/mylist Ljava/awt/List;
  ldc "C++"
  invokevirtual java/awt/List/addItem(Ljava/lang/String;)V
  aload_0
  getfield AllComponents/mylist Ljava/awt/List;
  ldc "Smalltalk"
  invokevirtual java/awt/List/addItem(Ljava/lang/String;)V
  aload_0
  getfield AllComponents/mylist Ljava/awt/List;
  ldc "Lisp"
  invokevirtual java/awt/List/addItem(Ljava/lang/String;)V
  aload_0
  getfield AllComponents/mylist Ljava/awt/List;
  ldc "Modula-3"
  invokevirtual java/awt/List/addItem(Ljava/lang/String;)V
  aload_0
  getfield AllComponents/mylist Ljava/awt/List;
  ldc "Forth"
  invokevirtual java/awt/List/addItem(Ljava/lang/String;)V
  new java/awt/TextField
  dup
  ldc "Laurie"
  ldc 15
  invokenonvirtual java/awt/TextField/<init>(Ljava/lang/String;I)V
  aload_0
  swap
  putfield AllComponents/textfield Ljava/awt/TextField;
  aload_0
  getfield AllComponents/textfield Ljava/awt/TextField;
  iconst_1
  invokevirtual java/awt/TextComponent/setEditable(Z)V
  new java/awt/TextArea
  dup
  ldc ""
  ldc 6
  ldc 40
  invokenonvirtual java/awt/TextArea/<init>(Ljava/lang/String;II)V
  aload_0
  swap
  putfield AllComponents/textarea Ljava/awt/TextArea;
  aload_0
  getfield AllComponents/textarea Ljava/awt/TextArea;
  iconst_0
  invokevirtual java/awt/TextComponent/setEditable(Z)V
  new ScrollableScribble
  dup
  invokenonvirtual ScrollableScribble/<init>()V
  aload_0
  swap
  putfield AllComponents/scribble LScrollableScribble;
  new java/awt/FileDialog
  dup
  aload_0
  ldc "Open File"
  aload_0
  getfield AllComponents/c Ljoos/lib/JoosConstants;
  invokevirtual joos/lib/JoosConstants/LOAD()I
  invokenonvirtual java/awt/FileDialog/<init>(Ljava/awt/Frame;Ljava/lang/String;I)V
  aload_0
  swap
  putfield AllComponents/file_dialog Ljava/awt/FileDialog;
  new java/awt/Panel
  dup
  invokenonvirtual java/awt/Panel/<init>()V
  aload_0
  swap
  putfield AllComponents/panel1 Ljava/awt/Panel;
  aload_0
  getfield AllComponents/panel1 Ljava/awt/Panel;
  aload_0
  getfield AllComponents/gridbag Ljava/awt/GridBagLayout;
  invokevirtual java/awt/Container/setLayout(Ljava/awt/LayoutManager;)V
  aload_0
  aload_0
  getfield AllComponents/panel1 Ljava/awt/Panel;
  new java/awt/Label
  dup
  ldc "Name:"
  aload_0
  getfield AllComponents/c Ljoos/lib/JoosConstants;
  invokevirtual joos/lib/JoosConstants/LABEL_LEFT()I
  invokenonvirtual java/awt/Label/<init>(Ljava/lang/String;I)V
  iconst_0
  iconst_0
  iconst_1
  iconst_1
  invokevirtual AllComponents/constrainShort(Ljava/awt/Container;Ljava/awt/Component;IIII)V
  aload_0
  aload_0
  getfield AllComponents/panel1 Ljava/awt/Panel;
  aload_0
  getfield AllComponents/textfield Ljava/awt/TextField;
  iconst_0
  iconst_1
  iconst_1
  iconst_1
  invokevirtual AllComponents/constrainShort(Ljava/awt/Container;Ljava/awt/Component;IIII)V
  aload_0
  aload_0
  getfield AllComponents/panel1 Ljava/awt/Panel;
  new java/awt/Label
  dup
  ldc "Favorite color:"
  aload_0
  getfield AllComponents/c Ljoos/lib/JoosConstants;
  invokevirtual joos/lib/JoosConstants/LABEL_LEFT()I
  invokenonvirtual java/awt/Label/<init>(Ljava/lang/String;I)V
  iconst_0
  iconst_2
  iconst_1
  iconst_1
  ldc 10
  iconst_0
  iconst_0
  iconst_0
  invokevirtual AllComponents/constrainMed(Ljava/awt/Container;Ljava/awt/Component;IIIIIIII)V
  aload_0
  aload_0
  getfield AllComponents/panel1 Ljava/awt/Panel;
  aload_0
  getfield AllComponents/choice Ljava/awt/Choice;
  iconst_0
  iconst_3
  iconst_1
  iconst_1
  invokevirtual AllComponents/constrainShort(Ljava/awt/Container;Ljava/awt/Component;IIII)V
  aload_0
  aload_0
  getfield AllComponents/panel1 Ljava/awt/Panel;
  new java/awt/Label
  dup
  ldc "Favorite flavor:"
  aload_0
  getfield AllComponents/c Ljoos/lib/JoosConstants;
  invokevirtual joos/lib/JoosConstants/LABEL_LEFT()I
  invokenonvirtual java/awt/Label/<init>(Ljava/lang/String;I)V
  iconst_0
  iconst_4
  iconst_1
  iconst_1
  ldc 10
  iconst_0
  iconst_0
  iconst_0
  invokevirtual AllComponents/constrainMed(Ljava/awt/Container;Ljava/awt/Component;IIIIIIII)V
  aload_0
  aload_0
  getfield AllComponents/panel1 Ljava/awt/Panel;
  aload_0
  getfield AllComponents/checkboxes Ljava/util/Vector;
  iconst_0
  invokevirtual java/util/Vector/elementAt(I)Ljava/lang/Object;
  checkcast java/awt/Checkbox
  iconst_0
  iconst_5
  iconst_1
  iconst_1
  invokevirtual AllComponents/constrainShort(Ljava/awt/Container;Ljava/awt/Component;IIII)V
  aload_0
  aload_0
  getfield AllComponents/panel1 Ljava/awt/Panel;
  aload_0
  getfield AllComponents/checkboxes Ljava/util/Vector;
  iconst_1
  invokevirtual java/util/Vector/elementAt(I)Ljava/lang/Object;
  checkcast java/awt/Checkbox
  iconst_0
  ldc 6
  iconst_1
  iconst_1
  invokevirtual AllComponents/constrainShort(Ljava/awt/Container;Ljava/awt/Component;IIII)V
  aload_0
  aload_0
  getfield AllComponents/panel1 Ljava/awt/Panel;
  aload_0
  getfield AllComponents/checkboxes Ljava/util/Vector;
  iconst_2
  invokevirtual java/util/Vector/elementAt(I)Ljava/lang/Object;
  checkcast java/awt/Checkbox
  iconst_0
  ldc 7
  iconst_1
  iconst_1
  invokevirtual AllComponents/constrainShort(Ljava/awt/Container;Ljava/awt/Component;IIII)V
  aload_0
  aload_0
  getfield AllComponents/panel1 Ljava/awt/Panel;
  new java/awt/Label
  dup
  ldc "Favorite languages:"
  aload_0
  getfield AllComponents/c Ljoos/lib/JoosConstants;
  invokevirtual joos/lib/JoosConstants/LABEL_LEFT()I
  invokenonvirtual java/awt/Label/<init>(Ljava/lang/String;I)V
  iconst_0
  ldc 8
  iconst_1
  iconst_1
  ldc 10
  iconst_0
  iconst_0
  iconst_0
  invokevirtual AllComponents/constrainMed(Ljava/awt/Container;Ljava/awt/Component;IIIIIIII)V
  aload_0
  aload_0
  getfield AllComponents/panel1 Ljava/awt/Panel;
  aload_0
  getfield AllComponents/mylist Ljava/awt/List;
  iconst_0
  ldc 9
  iconst_1
  iconst_3
  aload_0
  getfield AllComponents/c Ljoos/lib/JoosConstants;
  invokevirtual joos/lib/JoosConstants/GRIDBAGCONSTRAINTS_VERTICAL()I
  aload_0
  getfield AllComponents/c Ljoos/lib/JoosConstants;
  invokevirtual joos/lib/JoosConstants/NORTHWEST()I
  new joos/lib/JoosFraction
  dup
  iconst_0
  iconst_1
  invokenonvirtual joos/lib/JoosFraction/<init>(II)V
  new joos/lib/JoosFraction
  dup
  iconst_1
  iconst_1
  invokenonvirtual joos/lib/JoosFraction/<init>(II)V
  iconst_0
  iconst_0
  iconst_0
  iconst_0
  invokevirtual AllComponents/constrainAll(Ljava/awt/Container;Ljava/awt/Component;IIIIIILjoos/lib/JoosFraction;Ljoos/lib/JoosFraction;IIII)V
  new java/awt/Panel
  dup
  invokenonvirtual java/awt/Panel/<init>()V
  aload_0
  swap
  putfield AllComponents/panel2 Ljava/awt/Panel;
  aload_0
  getfield AllComponents/panel2 Ljava/awt/Panel;
  aload_0
  getfield AllComponents/gridbag Ljava/awt/GridBagLayout;
  invokevirtual java/awt/Container/setLayout(Ljava/awt/LayoutManager;)V
  aload_0
  aload_0
  getfield AllComponents/panel2 Ljava/awt/Panel;
  new java/awt/Label
  dup
  ldc "Messages"
  aload_0
  getfield AllComponents/c Ljoos/lib/JoosConstants;
  invokevirtual joos/lib/JoosConstants/LABEL_LEFT()I
  invokenonvirtual java/awt/Label/<init>(Ljava/lang/String;I)V
  iconst_0
  iconst_0
  iconst_1
  iconst_1
  invokevirtual AllComponents/constrainShort(Ljava/awt/Container;Ljava/awt/Component;IIII)V
  aload_0
  aload_0
  getfield AllComponents/panel2 Ljava/awt/Panel;
  aload_0
  getfield AllComponents/textarea Ljava/awt/TextArea;
  iconst_0
  iconst_1
  iconst_1
  iconst_3
  aload_0
  getfield AllComponents/c Ljoos/lib/JoosConstants;
  invokevirtual joos/lib/JoosConstants/GRIDBAGCONSTRAINTS_HORIZONTAL()I
  aload_0
  getfield AllComponents/c Ljoos/lib/JoosConstants;
  invokevirtual joos/lib/JoosConstants/NORTH()I
  new joos/lib/JoosFraction
  dup
  iconst_1
  iconst_1
  invokenonvirtual joos/lib/JoosFraction/<init>(II)V
  new joos/lib/JoosFraction
  dup
  iconst_0
  iconst_1
  invokenonvirtual joos/lib/JoosFraction/<init>(II)V
  iconst_0
  iconst_0
  iconst_0
  iconst_0
  invokevirtual AllComponents/constrainAll(Ljava/awt/Container;Ljava/awt/Component;IIIIIILjoos/lib/JoosFraction;Ljoos/lib/JoosFraction;IIII)V
  aload_0
  aload_0
  getfield AllComponents/panel2 Ljava/awt/Panel;
  new java/awt/Label
  dup
  ldc "Diagram"
  aload_0
  getfield AllComponents/c Ljoos/lib/JoosConstants;
  invokevirtual joos/lib/JoosConstants/LABEL_LEFT()I
  invokenonvirtual java/awt/Label/<init>(Ljava/lang/String;I)V
  iconst_0
  iconst_4
  iconst_1
  iconst_1
  ldc 10
  iconst_0
  iconst_0
  iconst_0
  invokevirtual AllComponents/constrainMed(Ljava/awt/Container;Ljava/awt/Component;IIIIIIII)V
  aload_0
  aload_0
  getfield AllComponents/panel2 Ljava/awt/Panel;
  aload_0
  getfield AllComponents/scribble LScrollableScribble;
  iconst_0
  iconst_5
  iconst_1
  iconst_5
  aload_0
  getfield AllComponents/c Ljoos/lib/JoosConstants;
  invokevirtual joos/lib/JoosConstants/BOTH()I
  aload_0
  getfield AllComponents/c Ljoos/lib/JoosConstants;
  invokevirtual joos/lib/JoosConstants/GRIDBAGCONSTRAINTS_CENTER()I
  new joos/lib/JoosFraction
  dup
  iconst_1
  iconst_1
  invokenonvirtual joos/lib/JoosFraction/<init>(II)V
  new joos/lib/JoosFraction
  dup
  iconst_1
  iconst_1
  invokenonvirtual joos/lib/JoosFraction/<init>(II)V
  iconst_0
  iconst_0
  iconst_0
  iconst_0
  invokevirtual AllComponents/constrainAll(Ljava/awt/Container;Ljava/awt/Component;IIIIIILjoos/lib/JoosFraction;Ljoos/lib/JoosFraction;IIII)V
  new java/awt/Panel
  dup
  invokenonvirtual java/awt/Panel/<init>()V
  aload_0
  swap
  putfield AllComponents/buttonpanel Ljava/awt/Panel;
  aload_0
  getfield AllComponents/buttonpanel Ljava/awt/Panel;
  aload_0
  getfield AllComponents/gridbag Ljava/awt/GridBagLayout;
  invokevirtual java/awt/Container/setLayout(Ljava/awt/LayoutManager;)V
  aload_0
  aload_0
  getfield AllComponents/buttonpanel Ljava/awt/Panel;
  aload_0
  getfield AllComponents/okay Ljava/awt/Button;
  iconst_0
  iconst_0
  iconst_1
  iconst_1
  aload_0
  getfield AllComponents/c Ljoos/lib/JoosConstants;
  invokevirtual joos/lib/JoosConstants/NONE()I
  aload_0
  getfield AllComponents/c Ljoos/lib/JoosConstants;
  invokevirtual joos/lib/JoosConstants/GRIDBAGCONSTRAINTS_CENTER()I
  new joos/lib/JoosFraction
  dup
  iconst_3
  ldc 10
  invokenonvirtual joos/lib/JoosFraction/<init>(II)V
  new joos/lib/JoosFraction
  dup
  iconst_0
  iconst_1
  invokenonvirtual joos/lib/JoosFraction/<init>(II)V
  iconst_0
  iconst_0
  iconst_0
  iconst_0
  invokevirtual AllComponents/constrainAll(Ljava/awt/Container;Ljava/awt/Component;IIIIIILjoos/lib/JoosFraction;Ljoos/lib/JoosFraction;IIII)V
  aload_0
  aload_0
  getfield AllComponents/buttonpanel Ljava/awt/Panel;
  aload_0
  getfield AllComponents/cancel Ljava/awt/Button;
  iconst_1
  iconst_0
  iconst_1
  iconst_1
  aload_0
  getfield AllComponents/c Ljoos/lib/JoosConstants;
  invokevirtual joos/lib/JoosConstants/NONE()I
  aload_0
  getfield AllComponents/c Ljoos/lib/JoosConstants;
  invokevirtual joos/lib/JoosConstants/GRIDBAGCONSTRAINTS_CENTER()I
  new joos/lib/JoosFraction
  dup
  iconst_3
  ldc 10
  invokenonvirtual joos/lib/JoosFraction/<init>(II)V
  new joos/lib/JoosFraction
  dup
  iconst_0
  iconst_1
  invokenonvirtual joos/lib/JoosFraction/<init>(II)V
  iconst_0
  iconst_0
  iconst_0
  iconst_0
  invokevirtual AllComponents/constrainAll(Ljava/awt/Container;Ljava/awt/Component;IIIIIILjoos/lib/JoosFraction;Ljoos/lib/JoosFraction;IIII)V
  aload_0
  aload_0
  getfield AllComponents/gridbag Ljava/awt/GridBagLayout;
  invokevirtual java/awt/Container/setLayout(Ljava/awt/LayoutManager;)V
  aload_0
  aload_0
  aload_0
  getfield AllComponents/panel1 Ljava/awt/Panel;
  iconst_0
  iconst_0
  iconst_1
  iconst_1
  aload_0
  getfield AllComponents/c Ljoos/lib/JoosConstants;
  invokevirtual joos/lib/JoosConstants/GRIDBAGCONSTRAINTS_VERTICAL()I
  aload_0
  getfield AllComponents/c Ljoos/lib/JoosConstants;
  invokevirtual joos/lib/JoosConstants/NORTHWEST()I
  new joos/lib/JoosFraction
  dup
  iconst_0
  iconst_1
  invokenonvirtual joos/lib/JoosFraction/<init>(II)V
  new joos/lib/JoosFraction
  dup
  iconst_1
  iconst_1
  invokenonvirtual joos/lib/JoosFraction/<init>(II)V
  ldc 10
  ldc 10
  iconst_5
  iconst_5
  invokevirtual AllComponents/constrainAll(Ljava/awt/Container;Ljava/awt/Component;IIIIIILjoos/lib/JoosFraction;Ljoos/lib/JoosFraction;IIII)V
  aload_0
  aload_0
  aload_0
  getfield AllComponents/panel2 Ljava/awt/Panel;
  iconst_1
  iconst_0
  iconst_1
  iconst_1
  aload_0
  getfield AllComponents/c Ljoos/lib/JoosConstants;
  invokevirtual joos/lib/JoosConstants/BOTH()I
  aload_0
  getfield AllComponents/c Ljoos/lib/JoosConstants;
  invokevirtual joos/lib/JoosConstants/GRIDBAGCONSTRAINTS_CENTER()I
  new joos/lib/JoosFraction
  dup
  iconst_1
  iconst_1
  invokenonvirtual joos/lib/JoosFraction/<init>(II)V
  new joos/lib/JoosFraction
  dup
  iconst_1
  iconst_1
  invokenonvirtual joos/lib/JoosFraction/<init>(II)V
  ldc 10
  ldc 10
  iconst_5
  ldc 10
  invokevirtual AllComponents/constrainAll(Ljava/awt/Container;Ljava/awt/Component;IIIIIILjoos/lib/JoosFraction;Ljoos/lib/JoosFraction;IIII)V
  aload_0
  aload_0
  aload_0
  getfield AllComponents/buttonpanel Ljava/awt/Panel;
  iconst_0
  iconst_1
  iconst_2
  iconst_1
  aload_0
  getfield AllComponents/c Ljoos/lib/JoosConstants;
  invokevirtual joos/lib/JoosConstants/GRIDBAGCONSTRAINTS_HORIZONTAL()I
  aload_0
  getfield AllComponents/c Ljoos/lib/JoosConstants;
  invokevirtual joos/lib/JoosConstants/GRIDBAGCONSTRAINTS_CENTER()I
  new joos/lib/JoosFraction
  dup
  iconst_1
  iconst_1
  invokenonvirtual joos/lib/JoosFraction/<init>(II)V
  new joos/lib/JoosFraction
  dup
  iconst_0
  iconst_1
  invokenonvirtual joos/lib/JoosFraction/<init>(II)V
  iconst_5
  iconst_0
  iconst_0
  iconst_0
  invokevirtual AllComponents/constrainAll(Ljava/awt/Container;Ljava/awt/Component;IIIIIILjoos/lib/JoosFraction;Ljoos/lib/JoosFraction;IIII)V
  return
.end method

.method public constrainAll(Ljava/awt/Container;Ljava/awt/Component;IIIIIILjoos/lib/JoosFraction;Ljoos/lib/JoosFraction;IIII)V
  .limit locals 16
  .limit stack 7
  new joos/lib/JoosGridBagConstraints
  dup
  new java/awt/GridBagConstraints
  dup
  invokenonvirtual java/awt/GridBagConstraints/<init>()V
  invokenonvirtual joos/lib/JoosGridBagConstraints/<init>(Ljava/awt/GridBagConstraints;)V
  astore 15
  aload 15
  iload_3
  invokevirtual joos/lib/JoosGridBagConstraints/setGridX(I)V
  aload 15
  iload 4
  invokevirtual joos/lib/JoosGridBagConstraints/setGridY(I)V
  aload 15
  iload 5
  invokevirtual joos/lib/JoosGridBagConstraints/setGridWidth(I)V
  aload 15
  iload 6
  invokevirtual joos/lib/JoosGridBagConstraints/setGridHeight(I)V
  aload 15
  iload 7
  invokevirtual joos/lib/JoosGridBagConstraints/setFill(I)V
  aload 15
  iload 8
  invokevirtual joos/lib/JoosGridBagConstraints/setAnchor(I)V
  aload 15
  aload 9
  invokevirtual joos/lib/JoosGridBagConstraints/setWeightX(Ljoos/lib/JoosFraction;)V
  aload 15
  aload 10
  invokevirtual joos/lib/JoosGridBagConstraints/setWeightY(Ljoos/lib/JoosFraction;)V
  iload 11
  iload 13
  iadd
  iload 12
  iadd
  iload 14
  iadd
  iconst_0
  if_icmple stop_0
  aload 15
  new java/awt/Insets
  dup
  iload 11
  iload 12
  iload 13
  iload 14
  invokenonvirtual java/awt/Insets/<init>(IIII)V
  invokevirtual joos/lib/JoosGridBagConstraints/setInsets(Ljava/awt/Insets;)V
  stop_0:
  aload_1
  invokevirtual java/awt/Container/getLayout()Ljava/awt/LayoutManager;
  checkcast java/awt/GridBagLayout
  aload_2
  aload 15
  invokevirtual joos/lib/JoosGridBagConstraints/getConstraints()Ljava/awt/GridBagConstraints;
  checkcast java/awt/GridBagConstraints
  invokevirtual java/awt/GridBagLayout/setConstraints(Ljava/awt/Component;Ljava/awt/GridBagConstraints;)V
  aload_1
  aload_2
  invokevirtual java/awt/Container/add(Ljava/awt/Component;)Ljava/awt/Component;
  pop
  return
.end method

.method public constrainShort(Ljava/awt/Container;Ljava/awt/Component;IIII)V
  .limit locals 7
  .limit stack 15
  aload_0
  aload_1
  aload_2
  iload_3
  iload 4
  iload 5
  iload 6
  aload_0
  getfield AllComponents/c Ljoos/lib/JoosConstants;
  invokevirtual joos/lib/JoosConstants/NONE()I
  aload_0
  getfield AllComponents/c Ljoos/lib/JoosConstants;
  invokevirtual joos/lib/JoosConstants/NORTHWEST()I
  new joos/lib/JoosFraction
  dup
  iconst_0
  iconst_1
  invokenonvirtual joos/lib/JoosFraction/<init>(II)V
  new joos/lib/JoosFraction
  dup
  iconst_0
  iconst_1
  invokenonvirtual joos/lib/JoosFraction/<init>(II)V
  iconst_0
  iconst_0
  iconst_0
  iconst_0
  invokevirtual AllComponents/constrainAll(Ljava/awt/Container;Ljava/awt/Component;IIIIIILjoos/lib/JoosFraction;Ljoos/lib/JoosFraction;IIII)V
  return
.end method

.method public constrainMed(Ljava/awt/Container;Ljava/awt/Component;IIIIIIII)V
  .limit locals 11
  .limit stack 15
  aload_0
  aload_1
  aload_2
  iload_3
  iload 4
  iload 5
  iload 6
  aload_0
  getfield AllComponents/c Ljoos/lib/JoosConstants;
  invokevirtual joos/lib/JoosConstants/NONE()I
  aload_0
  getfield AllComponents/c Ljoos/lib/JoosConstants;
  invokevirtual joos/lib/JoosConstants/NORTHWEST()I
  new joos/lib/JoosFraction
  dup
  iconst_0
  iconst_1
  invokenonvirtual joos/lib/JoosFraction/<init>(II)V
  new joos/lib/JoosFraction
  dup
  iconst_0
  iconst_1
  invokenonvirtual joos/lib/JoosFraction/<init>(II)V
  iload 7
  iload 8
  iload 9
  iload 10
  invokevirtual AllComponents/constrainAll(Ljava/awt/Container;Ljava/awt/Component;IIIIIILjoos/lib/JoosFraction;Ljoos/lib/JoosFraction;IIII)V
  return
.end method

.method public static main([Ljava/lang/String;)V
  .limit locals 2
  .limit stack 3
  new AllComponents
  dup
  ldc "AWT Demo - no event handler"
  invokenonvirtual AllComponents/<init>(Ljava/lang/String;)V
  astore_1
  aload_1
  ldc 450
  ldc 475
  invokevirtual java/awt/Component/resize(II)V
  aload_1
  invokevirtual java/awt/Window/show()V
  return
.end method

