Hi all - hope someone can help. I Have a few JDialog boxes in my app & I cant set the icon on the Title Bar of the JDialog. I tried using this.setImageIcon(Image myImage) however I could not create an Image from the gif that I want to use. ANY IDEAS?? D
Hi, If you want to display a gif, then the easiest approach to take is to create an ImageIcon, whose constructor takes the name of the image.... i.e dlg.setImageIcon(new ImageIcon("image1.gif"));
Martin
I child proofed my house but they still get in. Distract them with this tiny ad:
Gift giving made easy with the permaculture playing cards