1. Create a JPanel with flow layout aligned left
2. Create a subclass of JPanel (MyAspectPanel) that has as a data
member the QTComponent your movie will create. Set the layout of
MyAspectPanel to GridBagLayout
3. Add MyAspectPanel to the JPanel in step 1
4. When opening a movie, after creating the QTComponent, create
GridBagConstraints like:
5. Add the QTComponent's AWT representation to MyAspectPanel
6. Override getPreferredSize in MyAspectPanel. Get the height and
width of MyAspectPanel's parent and use that to resize your QTComponent
as appropriate.
This worked quite well for me; hope it helps someone else.