Hello all ,
While writing a jPCT wrapper for B4J , I found display method requiring java.awt.Graphics object to draw on .
Displays the output Image onto the component with the given Graphics context. If one wants to have further control about the drawing, getOutputBuffer() can be used instead.
Parameters:
g - the Graphics context of the compontent onto which the Image should be drawn (ignored when using OpenGL only)
Can I get Graphics context of b4j form ?
If not , please tell me the best approach .
As you can see there is a getOutputBuffer() method , should that be used instead ? Should I use it in a loop to set ImageView image ?
Thanks in advance