| Author |
Title icon on JDialogs
|
vinaya kumar
Ranch Hand
Joined: Jan 20, 2002
Posts: 70
|
|
Hi, I'm wondering if there is a way to change the titlebar icon (the> little icon on the top left of the window) in a JDialog? I know how to do it in JFrame (setImageIcon) and JInternalFrame (setFrameIcon) but I have failed to come up with a solution to this little problem. Thanks in advance vinaya http://www.eos.dk/archive/swing/msg00745.html
|
 |
Paul Stevens
Ranch Hand
Joined: May 17, 2001
Posts: 2823
|
|
|
I think you have to set it in the parent frame before creating the JDialog. It should pick up the parents icon.
|
 |
vinaya kumar
Ranch Hand
Joined: Jan 20, 2002
Posts: 70
|
|
Yes Yes, parent is also a JDialog. In that case , what should be done.?? Thanks in Advance vinaya
|
 |
 |
|
|
subject: Title icon on JDialogs
|
|
|