devxlogo

Taskbar Icon for Dialog

Taskbar Icon for Dialog

Question:
How can I set the icon image for a java.awt.Dialog like you can fora java.awt.Frame using setIconImage?

Answer:
Unfortunately you cannot do this. A Dialog inherits the icon of its parentFrame, although this may not hold true for all Java environments.

devx-admin

Share the Post: