Retired Document
Important: This sample code may not represent best practices for current development. The project may use deprecated symbols and illustrate technologies and techniques that are no longer recommended.
PlaySound
Last Revision: | Version 1.2, 2006-05-11 Support for XCode 2. Modified project layout for platform independent distribution and compilation. (Full Revision History) |
Build Requirements: | XCode 2.2, or Java 2 SDK for Windows, and QuickTime 7 |
Runtime Requirements: | Java 1.5 and QuickTime 7, or later, recommended |
The code displays a frame with two AWT buttons in a Java Frame. One button will play a sound file and the other will play a midi file. This is done without loading the files into a QTComponent.
Copyright © 2006 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2006-05-11