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

Llistener(iconifiedProperty) can not be invoke correctly after set stage`s mode as "StageStyle.TRANSPARENT".

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P4 P4
    • 7-pool
    • fx2.0.2
    • javafx
    • None
    • java jdk:1.6.0_25; javaFX:2.0.2

      the listener(iconifiedProperty) not be invoke after user click taskbar to Deiconified the window.

      primaryStage.initStyle(StageStyle.TRANSPARENT);
      ......... ....
      primaryStage.iconifiedProperty().addListener(new ChangeListener<Boolean>() {

      @Override
      public void changed(ObservableValue<? extends Boolean> arg0,
      Boolean arg1, Boolean arg2) {
      // TODO Auto-generated method stub
      System.out.println("----------------------------------");
      System.out.println("arg0 =" + arg0);
      System.out.println("arg1 =" + arg1);
      System.out.println("arg2 =" + arg2);
      }
      });

            pchelko Petr Pchelko (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: