class SplashWindow extends Window implements Runnable { public SplashWindow () {
//here add your components that you wanna show setVisible(true); new Thread(this).start(); } public void run() { // here do your init work dispose(); } public void paint(Graphics g) { // here draw the Background Image } }
//here add your components that you wanna show
setVisible(true);
new Thread(this).start();
}
public void run() {
// here do your init work
dispose();
}
public void paint(Graphics g) {
// here draw the Background Image
}
}