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

JavaFX app gets freezed on Popup show

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: fx2.1
    • Fix Version/s: 7u6
    • Component/s: javafx
    • Labels:
    • Environment:

      2.1-b13

      Description

      The following popup freezes the JavaFX app on show:

              Popup popup = new Popup() {
                  {
                      getContent().setAll(StackPaneBuilder.create()
                              .children(
                                  ListViewBuilder.create()
                                      .build(),
                                  PaneBuilder.create()
                                      .prefWidth(Double.MAX_VALUE) // Comment out these two lines
                                      .prefHeight(Double.MAX_VALUE) // to fix the app
                                      .build()
                              )
                              .build());
                  }
              };

        Attachments

          Activity

            People

            Assignee:
            jgiles Jonathan Giles
            Reporter:
            mrkam Alexander Kuznetcov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported: