// Constructor...
awtTips() {
int i = 2 ; // 2 Wait 2 seconds...
// Splash screen...
xPopup spl = new xPopup("splash.jpg") ;
// Define application variables...
spl.set("awtTips",
"2.00",
"BERTHOU R.",
"http://www.javaside.com/",
"webmaster@javaside.com");
spl.run() ;
spl.setVisible(true) ;
// Your code...
// ...
// Wait 2 seconds (i) and hide
spl.hide(i);
spl.dispose();
}
|