SplashScreen.isVisible() has the following syntax.
public boolean isVisible()
In the following code shows how to use SplashScreen.isVisible() method.
/* w w w . java2 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()); } }