Re: video always on top issue
From: ScoobyCed (smell_at_my.ass)
Date: 11/17/03
- Next message: John C. Bollinger: "Re: Array difference"
- Previous message: John C. Bollinger: "Re: Array difference"
- In reply to: SirThanxALot: "JMF: video always on top issue"
- Next in thread: SirThanxALot: "Re: video always on top issue"
- Reply: SirThanxALot: "Re: video always on top issue"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: John C. Bollinger: "Re: Array difference"
- Previous message: John C. Bollinger: "Re: Array difference"
- In reply to: SirThanxALot: "JMF: video always on top issue"
- Next in thread: SirThanxALot: "Re: video always on top issue"
- Reply: SirThanxALot: "Re: video always on top issue"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|