/** <CODE>
  ****************************************************************
  * Copyright (C) 1997-2000 Micro Focus International Ltd.       *
  * All Rights Reserved.                                         *
  ****************************************************************
  *                                                              *
  * This COBOL program demonstrates how to read and update Java  *
  * Arrays from COBOL.                                           *
  *                                                              *
  *  Version History:                                            *
  *  @author            MIcro Focus International Development    *
  *  @version           1.0, Created                             *
  ****************************************************************
  *</CODE>
  */
public class arrays
{
  boolean packFrame = false;

  /**
   * Construct the application
   */
  public arrays()
  {
    Frame1 frame = new Frame1();

    /*
     * Validate frames that have preset sizes
     * Pack frames that have useful preferred size info, e.g. from their layout.
     */
    if (packFrame)
      frame.pack();
    else
      frame.validate();
    frame.setVisible(true);
  }

  /**
   * Main method
   *
   * @param args  The command line parameters passed into the program
   */
  public static void main(String[] args)
  {
    new arrays();
  }
}

