This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
build: M0 NB: 6.0 Steps to reproduce: - Create a JavaFX application - Copy the following code to the JavaFX editor import javafx.ui.*; class HelloWorldModel { attribute saying: String; } var model = HelloWorldModel { saying: "Hello World" }; var win = Frame { title: "Hello World JavaFX" width: 200 content: Label { text: bind model.saying } visible: true }; - Enable the preview mode The application starts in a separate window. - Do something in the editor The next separate window is started.
It was runtime issue. Has to be fixed now for the all cases except things like var f = Frame {..}. For above cases we can do nothing since it is normal program behavior. Andrey, please check and mark as fixed.
Reproducible in current version as well as in FXPad. The problem here is that if the application not just describing a window but opening new windows during execution according to internal logic then we can't catch it at preview time. Can be potentially improved in the future, but require sophisticated analysis. I'm changing target milestone to future, however it looks for me more like a task but not a bug in plug-in code.
Fixed.
verified