Click to See Complete Forum and Search --> : setting the dialog's icon.


Giovanni Pierandrea
March 6th, 1999, 06:42 PM
I succeeded in setting the application's icon with Frame.setIconImage(Image).

But I can't figure out how to set the icon of a dialog. Is there a way to do this? I heard it can be done only in jdk 1.1.7 or higher, is it true?

Thank you in advance!

david levitt
March 8th, 1999, 04:31 PM
I was able to set the icon in my JDialog by setting it in the JFrame

as you describe, and then creating the JDialog by passing the JFrame as the

constructor argument.