This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes here is a doosey Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "here is a doosey" Watch "here is a doosey" New topic
Author

here is a doosey

cardwell cupp
Ranch Hand

Joined: Aug 16, 2001
Posts: 66
I have been working on this one for about 3 hours now. Yes, I know that I am dumb. I am trying to make a LightWeight canvas from a java.awt.Canvas. Does anyone know how. The thing is that I am showing qucktime movies in my program. Each movie is played on a QTCanvas which in turn inherits from a Canvas. I would like to make the Canvas opaque so that when the movie is done, I dont get that stupid grey box. Any way, any help would be much appreciated.
Thanks all
Cardwell
Manfred Leonhardt
Ranch Hand

Joined: Jan 09, 2001
Posts: 1492
Hi Cardwell,
You could try and set the QTCanvas background to the same as that of the parent container when the movie is completed. That way it won't be a grey box ...
Regards,
Manfred.
 
wood burning stoves
 
subject: here is a doosey
 
Similar Threads
Canvas and Texfield
HELP !!!!!!!!!!!!!!!!!!!!! JSCROLLPANE
making resizable components?
Previous image does not clear on repainting Canvas in a loop with different positions
The Passion