Source Code : Splash Screen based on JWindow

Java Is Open Source Programming Language You Can Download From Java and Java Libraries From http://www.oracle.com. Click Here to download
We provide this code related to title for you to solve your developing problem easily. Libraries which is import in this program you can download from http://www.oracle.com. Click Here or search from google with Libraries Name you get jar file related it

Splash Screen based on JWindow

Splash Screen based on JWindow
    

//
//   SplashScreen
//
//   Copyright (C) by Andrea Carboni.
//   This file may be distributed under the terms of the LGPL license.
//


import java.awt.BorderLayout;

import javax.swing.ImageIcon;
import javax.swing.JLabel;
import javax.swing.JWindow;

//

public class SplashScreen extends JWindow
{
  //---------------------------------------------------------------------------

  public SplashScreen(String image)
  {
    JLabel lbl = new JLabel(new ImageIcon(image));
    getContentPane().add(lbl, BorderLayout.CENTER);
    pack();
    setLocationRelativeTo(null);
    setVisible(true);
  }
}

//

   
    
    
    
  

Thank with us