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

[Dialogs] Have Dialog inherit icons from owner Stage

    XMLWordPrintable

Details

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

    Description

      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();

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:
              Imported: