CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 1999
    Posts
    3

    setting the dialog's icon.



    I succeeded in setting the application's icon with Frame.setIconImage(Image).

    But I can't figure out how to set the icon of a dialog. Is there a way to do this? I heard it can be done only in jdk 1.1.7 or higher, is it true?

    Thank you in advance!



  2. #2
    Join Date
    Mar 1999
    Posts
    3

    Re: setting the dialog's icon.



    I was able to set the icon in my JDialog by setting it in the JFrame

    as you describe, and then creating the JDialog by passing the JFrame as the

    constructor argument.

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