I tried using the user dialog http://controlsfx.bitbucket.org/org/controlsfx/dialog/Dialog.html , but the code does not work throwing this exception
java.lang.NoClassDefFoundError: com/sun/javafx/scene/traversal/ParentTraversalEngine
at org.controlsfx.control.ButtonBar.<init>(ButtonBar.java:414)
at org.controlsfx.control.ButtonBar.<init>(ButtonBar.java:357)
at org.controlsfx.dialog.Dialog.createButtonPanel(Dialog.java:1034)
at org.controlsfx.dialog.Dialog.createCenterPanel(Dialog.java:1029)
at org.controlsfx.dialog.Dialog.buildDialogContent(Dialog.java:950)
at org.controlsfx.dialog.Dialog.show(Dialog.java:320)
....
Another thing is that there is no example of how to integrate this for use in the real world, where you put this code to authenticate the user, and then continue downloading the application and, possibly, how to use this code to authenticate in the middle of the action, so more reuse.
I am using Java 8.0u20 and ControlsFX 8.0.6_20 from maven
qsoft source
share