I'm a newbie so take my advise with a grain of salt.
object warningIcon = LookAndFeel.makeIcon(getClass(), "icons/warning.gif")
There is a number of resource Icons.
Hope this helps.
John
Thanks for the reply, however that code only creates
the icon. What I would like to know is what property
do I set to replace the original JFrame icon with the
one you created?
The code line below changes the internalframe's closeicon
to the warningIcon you created.
UIManager.put( "InternalFrame.closeIcon", warningIcon );
But I can't seem to find the property for the JFrame's icon.
Thanks,
Rob
> I'm a newbie so take my advise with a grain of salt. object
warningIcon = LookAndFeel.makeIcon(getClass(), "icons/warning.gif")
> There is a number of resource Icons.
> Hope this helps.
[quoted text clipped - 15 lines]
>> Thanks,
>> Rob