the question is why it uses white and black
if you change windows default colors (or use say some special L&F), do you
see other color when flashing?
> The entire frame of the component flashes white, then black, then
> white and then draws the movie. It goes pretty fast, but it's very
> noticeable and annoying.
> I have tried hiding it, with the same results. There does not seem to
> be any combination of hiding/removing components that works, except
> for hiding the entire window.
> On Jun 20, 2005, at 7:36 PM, George Birbilis wrote:
> > does it flash with some different color than the window background?
> > why don't you hide the QTComponent, then show it after movie has
> > loaded?
> >> Is there any way I can avoid screen flashes when loading a new movie
> >> into a QTComponent in a swing application on 1.4.2? Short of hiding
> >> the entire window while I do the load, which I would rather not do.
> >> I want to use QTComponent because I need the standard movie
> >> controller. My component is embedded in a JPanel. It seems that no
> >> matter what I do, when I swap movies, the QTComponent area flashes a
> >> couple of times before the movie draws. Ironically, on Windows it
> >> draws much better - the movie disappears for a moment, then redraws
> >> nicely with the new movie without flashing.
> >> I've tried two approaches to changing the movie - both redraw with
> >> the problem flashes:
> >> 1. Call setMovie on the QTComponent.
> >> 2. On each load, remove the existing QTComponent from the hierarchy,
> >> create new movie, controller and QTComponent objects, and add the
> >> QTComponent back into the view hierarachy.
> >> Oh, and another approach: hide the parent JPanel, do #1 or #2, and
> >> then show everything. Same results.
> >> I know mixing AWT and Swing stuff is problematic. I'm just hoping
> >> there is a workaround.
> >> I'm using QuickTime 7.0.1. Thanks.
Do not post admin requests to the list. They will be ignored.
QuickTime-java mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden