Legacy Documentclose button

Important: This document is part of the Legacy section of the ADC Reference Library. This information should not be used for new development.

Current information on this Reference Library topic can be found here:

Version: 1.2

Posted: 2005-03-15

Build Requirements: Mac OS X, JDK 1.4.1 or later and Project Builder

Runtime Requirements: Mac OS X 10.2.3, Java 1.4.1 and a video capture device

View Source Code:

Download Sample (“QDCocoaComponent.zip”, 89.6K)
Download Sample (“QDCocoaComponent.dmg”, 136.8K)



Description

Shows how to use the Quicktime Sequence Grabber and com.apple.eawt.CocoaComponent to display video in a QuickDraw port (Sub class of NSQuickDrawView) in a Java canvas running on Mac OS X.

Document Revision History

Date Notes
2005-03-15Use the more efficient QDSetDirtyRegion vs the more immediate QDFlushPortBuffer.
2004-10-22Added code to avoid on 10.3 and later a workaround needed on 10.2.x, that prevented the use of lockFocusIfCanDraw with a NSQuickDrawView. Fixes a crash that would occur occasionally on 10.3.
2003-05-20Shows the QuickTime Sequence grabber and a com.apple.eawt.CocoaComponent with JDK 1.4.1

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.