|
Java™ by example!
|
|
|
How can I set the top-left icon of a JDialog?
You can't directly set the top-left icon of a JDialog. It inherits its icon from the owner JFrame. What you could do is pass a dummy JFrame as the owner when you create the JDialog. This example shows you:
Further Information
Author of answer: Joris Van den Bogaert
Comments
Comments to this answer are only viewable by members. Login or become a member!
|
|
|
|
|