Mostrar un splash en java

|

Buscando por muchas paginas como poner una imagen "splash" con java. Me he dadao cuenta de que es algo como complicado pero de tanro buscar he encontrado una manera sencilla sin "SplashScreen"...

/**
* @author Jefferson Amado Pe/a Torres
* @version 1.00 2008
*/


import java.lang.*;
import java.awt.*; 
import javax.swing.*;
import java.io.*;



class splash extends JWindow
{
                   private static ImageIcon source;
                   private static JWindow splashWin;
                   private static int ancho;
                   private static int alto;
                   private static JProgressBar progressBar;
                   private static JLabel etiqueta;
                   private static int minValue =0;
                   private static int maxValue =100;
                   private static int counter=0;

  public splash(){
      cargar();
      mostrar();
 }


   public static void cargar(){
               source= new ImageIcon("../Imagenes/splash.png" );
               ancho=source.getIconWidth();
               alto=source.getIconHeight();
               progressBar = new JProgressBar(0,100);
               etiqueta = new JLabel(source);
   }

    public static void mostrar(){

                       splashWin = new JWindow();

                       progressBar.setBounds(10,256,280,10);
                       progressBar.setBackground(Color.orange);
                       progressBar.setForeground(Color.RED);
                       progressBar.setString("Procesando");

                       etiqueta.add(progressBar);
                       splashWin.getContentPane().add(etiqueta);
                       splashWin.getGlassPane();

                       splashWin.setSize(ancho,alto);
                       splashWin.setLocationRelativeTo(null);
                       splashWin.setVisible(true);


                        for (int i = 0; i<102;>

     }

     public static void main (String[] args) {
                       splash obj = new splash();
                                  obj.cargar();
                                  obj.mostrar();
   }