CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Thread: Title Icon

  1. #1
    Join Date
    Mar 2000
    Posts
    123

    Title Icon

    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?


  2. #2
    Join Date
    Sep 2000
    Location
    Singapore
    Posts
    5

    Re: Title Icon

    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.

  3. #3
    Join Date
    Mar 2000
    Posts
    123

    Re: Title Icon

    I'm not in a JFrame, I'm in a JDialog. I have no problem changing the icon on my JFrame.


  4. #4
    Join Date
    Mar 2000
    Posts
    123

    Re: Title Icon

    Does anyone know anything about RGBImageFilter to do this?


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured