S
SirThanxALot
Programmers of the world,
Here's the issue
I have a JFrame:
The contentPane is a Component ( new Component() )
On top of that I display a video file, it turned out that this is a
com.sun.media.renderer.video.HeavyComponent
Now, i want some JLabels to be displayed on top of that, partially covering
the video
To achieve that, I add the pictures with something like
getContentPane.add(new Label("blablabla",0));
I expected the video to be partially covered by my Labels, however
the labels are displayed under the movie.
I tried to figure out what was goiing on, so i tried to layer 2 movies
and it turned out that with the same code, sometimes the first movie was on
top and sometimes the other
I think this is explainable in terms of buffering: the latest movie gets the
component on the top.
any ideas to work around this?
kind regards,
SirThanxALot
Here's the issue
I have a JFrame:
The contentPane is a Component ( new Component() )
On top of that I display a video file, it turned out that this is a
com.sun.media.renderer.video.HeavyComponent
Now, i want some JLabels to be displayed on top of that, partially covering
the video
To achieve that, I add the pictures with something like
getContentPane.add(new Label("blablabla",0));
I expected the video to be partially covered by my Labels, however
the labels are displayed under the movie.
I tried to figure out what was goiing on, so i tried to layer 2 movies
and it turned out that with the same code, sometimes the first movie was on
top and sometimes the other
I think this is explainable in terms of buffering: the latest movie gets the
component on the top.
any ideas to work around this?
kind regards,
SirThanxALot