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

setting icons for the stage through icons attribute is not applied

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P2 P2
    • fx1.2
    • fx1.0
    • javafx
    • Windows xp sp3

      I want to set different icons for the stage. But right now it is not applied for the stage. I tested this with Sep 28th build 437 with jdk6u10 b31.

      ======================= Testcase ===============================

      import javafx.stage.*;
      import javafx.scene.shape.*;
      import javafx.scene.*;
      import javafx.scene.paint.*;
      import javafx.ext.swing.*;
      import javafx.scene.layout.*;
      import javafx.scene.image.*;
       
      Stage {
      scene : Scene{
      content : [
      layout
      ]
      }
      decoration : Decoration {
      title : bind tfield.text
      icons : [Image{
      url : "http://sqindia.india.sun.com/disk16/AWTNightly/Adhoc/NewUpdatedFXWS/resources/images/images.jpeg"
      },
      Image{
      url : "http://sqindia.india.sun.com/disk16/AWTNightly/Adhoc/NewUpdatedFXWS/resources/images/MusicDuke.jpeg"
      }]
      }
      width : 300
      height : 300
      visible : true
      }

      ===================================================================================================

            morris Morris Meyer (Inactive)
            lpremkumajfx Lawrence Premkumar (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: