Using NSMovieView in Cocoa-Java
Using NSMovieView in Cocoa-Java
- Subject: Using NSMovieView in Cocoa-Java
- From: Chris Gervais <email@hidden>
- Date: Fri, 12 Oct 2001 13:51:21 -0400
I'm just learning Cocoa and using the Cocoa Java APIs to play around and get
used to the Cocoa programming paradigms. As a test app, I'm trying to write
a little QuickTime movie player. One thing I'm having trouble with is
resizing the NSMovieView after I assign it an NSMovie. I would have thought
that I could get the size (or other movie info) from the NSMovie, but it
basically has no properties. Is there some resize call I can make to
NSMovieView to tell it to pick up the size of the NSMovie and use it for its
size?
Any ideas? I thought about using QT4J, but I didn't know if you could mix
the QT4J APIs and Cocoa, but since this operation wouldn't have anything to
do with display, just getting the size, it might be OK.
If anyone has some pointers for this newbie, I'd be most appreciative!
Thanks,
Chris