JNIEnv env = JAWTUtils.getJNIEnv();
JAWT jawt = JAWTUtils.getJAWT(env);
while(frame.isEnabled()) {
if(frame.isVisible())
JAWTUtils.withLockedSurface(env, jawt, frame, new LockedComponentRunnable() {
@Override
public void run(Component comp, long peer) {
immediateContext.ClearRenderTargetView(pointerTo(rtView), pointerToFloats(0.0f, 0.125f, 0.3f, 1.0f));
int stride = (int) (sizeOf(Float.class) * 3);