Hello all

I am running netbeans IDE 6.0 (JDK 1.5) on my macbook. I am trying to implement a splashscreen in my GUI but am having some difficulties. I am trying to initialise a new instance of class "Splashscreen" but I keep getting the message "cannot find symbol Splashascreen" from the netbeans. I have attached the full splashscreen code for reference. Any ideas ?

------------------------------------------
import javax.swing.UIManager;
import javax.swing.ImageIcon;
import java.awt.*;

public class SplashScreenMain {

SplashScreen screen = SplashScreen.getSplashScreen();

public SplashScreenMain() {
// initialize the splash screen
splashScreenInit();
// do something here to simulate the program doing something that
// is time consuming
for (int i = 0; i <= 100; i++)
{
for (long j=0; j<50000; ++j)
{
String poop = " " + (j + i);
}
// run either of these two -- not both
//screen.setProgress("Yo " + i, i); // progress bar with a message
screen.setProgress(i); // progress bar with no message
}
splashScreenDestruct();
System.exit(0);
}

private void splashScreenDestruct() {
screen.setScreenVisible(false);
}

private void splashScreenInit() {
ImageIcon myImage = new ImageIcon("images/splash.gif");
screen = new SplashScreen(myImage);
screen.setLocationRelativeTo(null);
screen.setProgressMax(100);
screen.setScreenVisible(true);
}
}
-------------------------------------------
Thank you in advance