Java SplashScreen.close()
Syntax
SplashScreen.close() has the following syntax.
public void close() throws IllegalStateException
Example
In the following code shows how to use SplashScreen.close() method.
// w w w .j a v a2s .c om
import java.awt.SplashScreen;
public class Main {
public static void main(String args[]) throws Exception{
SplashScreen splash = SplashScreen.getSplashScreen();
splash.close();
}
}
Home »
Java Tutorial »
java.awt »
Java Tutorial »
java.awt »