Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8105508

Dialog dn't inherit parent icon

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P3 P3
    • None
    • None
    • javafx

      I have a frame, for which i set my own icon through icons attribute which takes the images. The new icon is set as the frame icon. I have a dialog , whose owner is the frame. When the dialog is visible , it has the default Java cup icon, this is incorrect. Dialog should inherit the owner's icon. unless we have specified with different icon. This happens only for javafx.application.Dialog . It works fine for javafx.ext.swing.SwingDialog. I tested this on winxp with b24 reprise promoted build & jdk6u10 b27 promoted biuld. I have attached the screen shot , testcase & images used for this testcase.

        1. DialogIcon.PNG
          377 kB
          Lawrence Premkumar
        2. GIFDuke.gif
          4 kB
          Lawrence Premkumar
        3. JPGDuke.jpg
          4 kB
          Lawrence Premkumar
        4. TestWindowIcon.fx
          3 kB
          Lawrence Premkumar

            gramachasunw Girish Ramachandran (Inactive)
            lpremkumajfx Lawrence Premkumar (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: