Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

here is a doosey

 
cardwell cupp
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1492
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic