Re: video always on top issue

From: ScoobyCed (smell_at_my.ass)
Date: 11/17/03


Date: Mon, 17 Nov 2003 21:27:19 +0700


"SirThanxALot" <sirthanxalot@mail.com> wrote
> 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

Some sample code would be better. Now you may try to double-buffer the video
picture, and update the JFrame.

Scooby-Ced



Relevant Pages

  • Re: MAGIX - MEP Titles
    ... be white paper or video display). ... What appears in your final rendered movie (and what ... The structure of my MEP movie looked like this: ...
    (rec.video.desktop)
  • Re: MAGIX - MEP Titles
    ... be white paper or video display). ... What appears in your final rendered movie (and what ... The structure of my MEP movie looked like this: ...
    (rec.video.desktop)
  • Re: MAGIX - MEP Titles
    ... be white paper or video display). ... What appears in your final rendered movie (and what ... The new RTF file is RTF-Colours.rtf ...
    (rec.video.desktop)
  • JMF: video always on top issue
    ... On top of that I display a video file, it turned out that this is a ... I expected the video to be partially covered by my Labels, ... the labels are displayed under the movie. ...
    (comp.lang.java.programmer)
  • Re: New Problem with Movies
    ... I can't play video with either totem or mplayer. ... I think the movie is playing, ... Audio stream found, -aid 1 ...
    (Ubuntu)