Java SplashScreen.isVisible()
Syntax
SplashScreen.isVisible() has the following syntax.
public boolean isVisible()
Example
In the following code shows how to use SplashScreen.isVisible() method.
//w w w. j a v a 2 s .co m
import java.awt.SplashScreen;
import java.net.URL;
public class Main {
public static void main(String args[]) throws Exception{
SplashScreen splash = SplashScreen.getSplashScreen();
System.out.println(splash.isVisible());
}
}
Home »
Java Tutorial »
java.awt »
Java Tutorial »
java.awt »