how to set Window background transparent?
hello
i have a splash screen with an Image on it and i want the background of the Window object would be transparent, how can i do it?
here it is:
public class SplashWindow extendsJWindow{
public SplashWindow(){
try{
JLabel img=new JLabel(new ImageIcon("images/splash.gif"));
getContentPane().add(img);
setSize(473,534);
setLocation(300,300);
setVisible(true);
}catch(Exception e){
e.printStackTrace();
}
}
}
thank a lot.

