import quicktime.*;

/****************************************************************************

    <p><i>InitQT:</i> Initializes and Finalizes the Quicktime Environment</p>


    <p><i>Development Environment</i></p>

      <li>OS X version 10.4.1</li>

    <p><i>Creation</i></p>

      This is a command-line oriented pure java program that was created
      from scratch.

      <ol>
        <li>In the c (compile) script, a classpath was added to point to
          the quicktime QTJava.zip file.</li>
        <li>In the r (run) script, a label was added to use macintosh's
          screen menu bar rather than use the windows-like menu bar.</li>
      </ol>

 ****************************************************************************/

    public class InitQT
      {



/*    M A I N
 */
/**   
 */
public static void main (String[] asArgsIn)
      {
      try
        {
        QTSession.open ();         // Initialize Quicktime
        }
      catch (Exception e)
        {
        System.out.println ("Exception: " + e);
        }

                                   //    . . .   (Quicktime commands go here)

      QTSession.close ();          // Finalize Quicktime
      }

      }


/*============================(  End of Source  )===========================*/

