Closed ghost closed 4 years ago
javafx.scene.control.Dialog
is not supported by JPro.
In general blocking API is not supported.
Check out our samples for popups/dialogs: https://github.com/JPro-one/JPro-Samples
The JFoenix Popups are also a good alternative.
We've made our checklist in our documentation more explicit about it.
There is an issue with JFXDialog. The fonts looks different in JPRO.
@FlorianKirmaier
How the font is differed?
How the JPro works?explain.
The issue with font isn't related to JFoenix. I explained it already in the other ticket with the same screenshot.
The look of JavaFX is dependent of the OS because different OS have different fonts. JPro tries to load the fonts independent of the OS, which is why it sometimes looks different. But it will always use the same font when the application specifies the used font. There is also very subtle differences in how fonts are rendered in the browser and how they are rendered in native JavaFX. But these differences are annoying but not really problematic.
Florian, Same Pane with controls in image looks fine when shown with WebAPI.openStageAsTab (right). Only when Pane shown in a JFXDialog controls looks blurred like left. Hope you understand what I mean.
@Hugolarson Can you provide a small sample on how to create a blurred element with the JFXDialog? We have a sample-project which already provided a sample-popup based on JFoenix: https://github.com/JPro-one/JPro-Samples, it should be easy to exchange the content. Or show me which content is supposed to be blurred.
Making the sample I discovered that it is JFoenix itself that cause the blurring without JPro. Anyway here is the sample if it's useful to you.
my jar contains three alert dialog box like this
When I run with JPro-from-jar it not worked.
How can I show the alert dialog box?