Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

resizing a movie in a JFrame



Im trying to resize a movie to fill the JPanel it is in, without
success.  In short, my code does the following:


QTFile qtFile = new QTFile("mymovie.mov");
OpenMovieFile openMovieFile = OpenMovieFile.asRead(qtFile);
nextMovie = Movie.fromFile(openMovieFile);
Component comp = (Component)
QTFactory.makeQTComponent(nextMovie)).asComponent();
comp.setBounds(videoBounds);
videoPanel.add(currentVideoComponent);

The video bounds contain the size of the JPanel correclty, nonetheless
the movie shows in its original size. What can I do to instruct the
movie to fill the space?

Thanks a lot.
 
-- 
Alejandro Lujan
Alterity Solutions
Telf: 9432229
Cel: 0414 3168275
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-java mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quicktime-java/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.