File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "here is a doosey" Watch "here is a doosey" New topic

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
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 ...
I agree. Here's the link:
subject: here is a doosey
It's not a secret anymore!