Codes for Splash window.java