hey all..
so i been trying to make a splash screen for my java application on netbeans..i build my application in java desktop application..
here is the way i tried :
first i make new jFrame class (SplashScreen.java) and put my png picture on it for the splash screen..and this single class file works
then i add this script in main.java to make this splash screen work on application :
and when i run the application the splash screen frame appear..but the frame is empty..i cant see my png picture on it :\Quote:
SplashScreen splash = new SplashScreen();
splash.setLocationRelativeTo(null);
splash.setVisible(true);
try {
Thread.sleep(3000);
}
catch (interruptedException e){
}
whats wrong with this? anyone can help please
