is it possible to draw manually the content (graphics) of a component to a bitmap? I have a display in my plugin that have to update sometimes automatically and i set a flag to call the repaint method when it is necessary. Whe the flag is true, the method draw some sexy lines, but when it is false, then the lines are not drawn. I donßt want to recall the repaint method at every frame so it would be nice if it is possible to cache the result into a bitmap and draw the bitmap if there are no changes.
how can i do this?
greetz from germany