Click to See Complete Forum and Search --> : Title Icon


daileyps
September 22nd, 2000, 01:14 PM
I can put title on my main frame to replace the java cup with my own image with setIconImage(myIconImage);

When I invoke my custom dialogs, there is no icon, even though my main frame is specified on the create (new JDialog(mainFrame, "Title Text");

Can I get a custom title icon here?

cpraveenbabu
September 29th, 2000, 04:47 AM
u can do a
setIcon(new ImageIcon("abc.gif"));
JFrame.getContentPane().add(new JLabel(ur icon));

Hope this helps
Praveen.C



When going gets tough,
Tough gets going.

daileyps
September 29th, 2000, 08:33 AM
I'm not in a JFrame, I'm in a JDialog. I have no problem changing the icon on my JFrame.

daileyps
September 29th, 2000, 03:35 PM
Does anyone know anything about RGBImageFilter to do this?