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

[Dialogs] Have Dialog inherit icons from owner Stage

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P4 P4
    • 8u40
    • 8u40
    • javafx

      To make use of the Stage wrapped in the Dailog (i.e. to add icons), it would be nice to have convenience method

      Stage stage = getStage();

      instead of the long way:

      Stage stage = (Stage)getDialogPane().getScene().getWindow();

            jgiles Jonathan Giles
            ckeimeljfx Christoph Keimel (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: