getDrawingSurface

Return a drawing surface from a target JAwtComponent. This value may be cached.

Returns null if an error has occurred. Target must be a java.awt.Component (should be a Canvas or Window for native rendering). freeDrawingSurface must be called when finished with the returned DrawingSurface.