import quicktime.*; /****************************************************************************

InitQT: Initializes and Finalizes the Quicktime Environment

Development Environment

  • OS X version 10.4.1
  • Creation

    This is a command-line oriented pure java program that was created from scratch.
    1. In the c (compile) script, a classpath was added to point to the quicktime QTJava.zip file.
    2. In the r (run) script, a label was added to use macintosh's screen menu bar rather than use the windows-like menu bar.
    ****************************************************************************/ 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 )===========================*/