public SplashWindow(Frame f, String imgName) {
		super(f);
		this.imgName = imgName;
		tk = Toolkit.getDefaultToolkit();
		splashImage = loadSplashImage();
		showSplashScreen();
		//f.addWindowListener(new WindowListener());
	}