SPLASHEXPORT void SplashClose() { Splash *splash = SplashGetInstance(); if (splash->isVisible > 0) { SplashLock(splash); splash->isVisible = -1; SplashClosePlatform(splash); SplashUnlock(splash); } }
/* * Class: java_awt_SplashScreen * Method: _close * Signature: (J)V */ JNIEXPORT void JNICALL Java_java_awt_SplashScreen__1close(JNIEnv * env, jclass thisClass, jlong jsplash) { Splash *splash = (Splash *) jlong_to_ptr(jsplash); if (!splash) { return; } SplashLock(splash); SplashClosePlatform(splash); SplashUnlock(splash); }