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.
Steps to reproduce: - Copy the following code to the editor: ----------------------------------------------------- import javafx.ui.*; Dialog{ title: "Message" content: Label{ text: "Hello World!"} buttons: Button{ text: "OK" } visible: true } ----------------------------------------------------- - Enable the preview The dialog is not shown in the Preview
fixed in trunk Now dialogs can be shown in preview, but without title.
The issue with Dialog class is fixed. The issue with MessageDialog is reproduced. Please, open the new issue if it is a different problem. Code is: ---------------------------------------------------- import javafx.ui.*; MessageDialog{ title: "Message" message: "Hello World!" visible: true } ----------------------------------------------------
Here is a sample with the recent SDK changes: --------------------------------------------------------------------------- import javafx.ext.swing.*; SwingFrame{ content: Button { text: "Create a Dialog" action: function() { SwingDialog{ title: "Dialog" content: Label{ text: "Hello World!"} visible: true } } } visible: true } ---------------------------------------------------------------------------
Fixed.
verified