Yes and no.

Any Dialog will use the parent's frame icon! (Set it by using
frame.setIconImage(...))

So you do need a frame. Nevertheless it is possible to have an invisible frame being
the parent one with the wanted icon being set.Note that you do spend some memory for
this 'feature' ...

Regards,
Stefan

"Pradeep, Chinnaswamiah" wrote:

> Hi ,
>       I have a dialog which extends the JDialog. In the constructor of the
> dialog i pass 'null'  as the parent Frame. As Expected I I get a Java Cup as the
> dialog's icon . Now I would like to change this icon to my own customized icon .
> Is there a way of doing this ?
>
> Thanks
> Pradeep
> _______________________________________________
> Advanced-swing mailing list
> [EMAIL PROTECTED]
> http://eos.dk/mailman/listinfo/advanced-swing

_______________________________________________
Advanced-swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/advanced-swing

Reply via email to