-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: fx2.1
-
Component/s: javafx
-
Environment:
2.1-b13
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());
}
};
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());
}
};