Hello all ,
While writing a jPCT wrapper for B4J , I found display method requiring java.awt.Graphics object to draw on .
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
While writing a jPCT wrapper for B4J , I found display method requiring java.awt.Graphics object to draw on .
Can I get Graphics context of b4j form ?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)
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