Hello to everyone. Im make a bridge from the POutputVideoDevice (a output class of PWLib project) to a AWT Canvas.
The bridge consists in a simple descendant on native side that instances a awt.Frame descendant, fill a java integer array and call the frame paint method. The frame contains a BufferedImage that is constructed manualy and have the integer array as they core, so each update on array is imediatly reflected by Buffered image. The frame contains a list of custons awt.Canvas. These custon canvas have a BufferedImage too, but these buffers is only a portion of the frame image (the way that I made for decomposing a frame of a conference video) The paint method of a frame simple update the BufferedImage (if necessary, a preparation to VolatileImage) and calls they canvas to update theirs contents too. All this is made with AWT and works perfectly (we are very happy with the results, porting the OpenH323 to java with this java video window). But now I'm need to port this implementation to Swing fashion. But in Swing I can not use Cnvas class so, I'm asking for help of the community to indicate articles and forums topics to clarify how I can make or use a custon Swing component to draw on. Thanks to everyone. Sorry any linguistic mistake. [Message sent by forum member 'marcosfj' (marcosfj)] http://forums.java.net/jive/thread.jspa?messageID=241846 =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA2D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
