JDK-8098234 : Basic dialog functionality
  • Type: Enhancement
  • Component: javafx
  • Sub-Component: controls
  • Priority: P4
  • Status: Resolved
  • Resolution: Duplicate
  • Submitted: 2013-08-12
  • Updated: 2015-06-12
  • Resolved: 2014-08-19
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8
8u40Resolved
Related Reports
Relates :  
Description
Please add an Fx dialog with functionality similar to Swing's JDialog.

For components that are used frequently like dialogs, we would like to have them built into the JDK so that we can count on on-going support.


Comments
This functionality is now part of JavaFX 8u40, via RT-12643.
19-08-2014

The code linked to by Zac is in fact a backport of the ControlsFX code, from its JavaFX 8.x version to instead support JavaFX 2.2.x. The API in the backport is significantly out of date in comparison to the latest ControlsFX API, so keep that in mind if you plan to use the 2.2.x backport.
12-08-2013

As Kevin notes, this is related to RT-12643, but I'll keep this open as it represents a lower-level form of dialog as opposed to the JOptionPane-esque request in RT-12643. For what it is worth, both jira requests are handled very well by the ControlsFX project, in its Dialogs and Dialog classes. Whilst ControlsFX is not part of JavaFX officially, it is open source and commercial licenses are available (in other words, I can link you up with an engineer who can support you and do customisations to suit your needs).
12-08-2013

This is related to RT-12643. Assign to Jonathan for dispatch.
12-08-2013

I believe dialogs are provided in JavaFX 8. For JavaFX 2.2.x (Java 6/7) you can use https://github.com/marcojakob/javafx-ui-sandbox/tree/master/javafx-dialogs, we've been using it successfully this library in a production application. I believe the code for this library is based upon the JavaFX 8 code.
12-08-2013