Hey all im trying to make a splash screen for my Applecation but to no luck the the form show Fine if i dont use the Progressbar but i need it can some one help me ? or give me some code that works better ?

Code:
     public void Splash()
     {
      Lemo mySplash = new Lemo();
      Dimension max = new Dimension(500,20);
      mySplash.frmSplash.setResizable(false);
      //Label with Images in it 
      mySplash.frmSplash.add("Center",lblSplash);
      mySplash.frmSplash.add("South",prbLoad);
      prbLoad.setValue(0);
      prbLoad.setStringPainted(true);
      prbLoad.setSize(max);
      prbLoad.setMaximumSize(max);
      mySplash.frmSplash.setSize(500,370);
      frmSplash.pack();
      //frmSplash.setVisible(true);
      mySplash.frmSplash.show();
      Progress();
     }
     public void Progress()
     {
      WAITE = new Thread();
      try
      {
        while(Num < 2000)
        {
          WAITE.sleep(1000);
          Num = Num + 50;
          prbLoad.setValue(Num);
        }
      }
      catch(InterruptedException e)
      {
      }
     }