This tip presents a splash-screen component on which the user can click to make it disappear. In addition, the component will also have a timer controlling the splash screen so that it will automatically disappear after a set period of time. Using a splash screen is a way to advertise your product. It is also used to indicate to the user that something is happening in your application during long startup times. Users can quickly remove some splash screens by simply clicking anywhere on them.
Some splash screens stay visible only until the application is loaded.
Other splash screens are visible even after the user has started the application. The SplashWindow1 class extends Swing's JWindow . JWindow is a heavyweight container. It also has none of the normal items that appear in other windows, such as a title bar, window management buttons, or even a visible frame edge. Therefore, JWindow is perfect for a splash screen.