J# java.awt.Dialog in NF 2.0

When a java.awt.Dialog is created with a parent of an existing java.awt.Frame that has an icon image set with setIconImage(), according to sun java, the dialog should inherit the title bar icon from the parent Frame. This does not happen in J#, the title bar contains a simple console window icon in it's upper left hand corner. Is there some way to overcome this default behavior and have it display a meaningful application icon



Answer this question

J# java.awt.Dialog in NF 2.0

  • Rani M

    Hi,
    Currently, we support only defualt icon for the jawa.awt.Dialog.
    So, you won't be able to display any other icon there,

    thanks
    Prem



  • JonHP - MSFT

    Hi Prem,

    Could I use a native Win32 call to get the handle to the active window then change the handle to the icon that way

    I have built a modeless XP style window using the Window class but trying to get that to operate Modal is more challenging.

    There must be a way to overcome this shortcoming.

    Thanks
    Barry


  • J# java.awt.Dialog in NF 2.0