JNIEXPORT void JNICALL
Java_sun_awt_pocketpc_PPCChoicePeer_reshape( JNIEnv *env,
        jobject self,
        jint x,
        jint y,
        jint width,
        jint height )
{
    CHECK_PEER( self );
    AwtChoice *c = PDATA( AwtChoice, self );
    c->Reshape( x, y, width, height );
    c->VerifyState();
    return;
}
Esempio n. 2
0
/*
 * Class:     sun_awt_windows_WChoicePeer
 * Method:    reshape
 * Signature: (IIII)V
 */
JNIEXPORT void JNICALL
Java_sun_awt_windows_WChoicePeer_reshape(JNIEnv *env, jobject self,
					 jint x, jint y,
					 jint width, jint height)
{
    TRY;

    PDATA pData;
    JNI_CHECK_PEER_RETURN(self);
    AwtChoice* c = (AwtChoice *)pData;
    c->Reshape(x, y, width, height);
    c->VerifyState();

    CATCH_BAD_ALLOC;
}