Thanks for all the assistance :D . Regarding JFXDialog there any way that is only open for a certain time and then closing? some method ?
@duylinh28393 жыл бұрын
How to set css for heading or body slipt
@slimefunoriginal7 жыл бұрын
sir, how to make confirmation dialog with jfxdialog??
@renegade59467 жыл бұрын
ERROR: JFXDialog container is not set! I am using Eclipse neon 3 IDE. In my program, the button is inside the Stackpane, and the Stackpane is inside the Anchorpane. Is this the reason for the error or am I doing something wrong?
@GenuineCoder7 жыл бұрын
Hi, If you look at the source code of JFXDIalog class (github.com/jfoenixadmin/JFoenix/blob/master/jfoenix/src/main/java/com/jfoenix/controls/JFXDialog.java), you can see the following code. if (dialogContainer == null) { System.err.println("ERROR: JFXDialog container is not set!"); return; } Which means, you haven't set the dialogContainer object. Use the setDialogContainer(StackPane dialogContainer) method to set your stackpane as dialogContainer. I recommend to add the AnchorPane inside another stackpane and set that stackpane as container.
@renegade59467 жыл бұрын
Genuine Coder Oh, I see. Thank you. Keep up the good work!
@mtzrmzia7 жыл бұрын
hey can you solved it?
@wendahnyiawung71715 жыл бұрын
please sir can an image be inserted into a dialogue box
@omzer978 жыл бұрын
how can i return a value from the dialog ? why it dose not have "showAndWait" ?
@eltonfonseca9008 жыл бұрын
Hello my friend, how can i make JFXDialog work the same as Alert? In the case, I wanted the locking of a java application to continuously execute the code after pressing the "Ok" button to do JFXDialog. Thank you in advance!
@shalithanimsara65176 жыл бұрын
how to create thease dialogboxes using scene builder...example link please..i want to crate a dialog box which is not a alert window
@shavar676 жыл бұрын
shalitha nimsara github.com/shavar67/JavaFX-JFXDialog?files=1 I made this on as a demo pure javafx no xml feel free to try it out.
@mtzrmzia7 жыл бұрын
how can i change the color of the text of the button Okay?
@mtzrmzia7 жыл бұрын
i solved using css: button.setStyle("-fx-background-color: #2296F2;-fx-text-fill: #ffffff;");
@tariqziyad49618 жыл бұрын
can you help me how to program Barcode reader and store it in database using java thanks
@GenuineCoder8 жыл бұрын
Hi, I have used barcode reader device for one of my project. Reading from a barcode reader is just like reading from a keyboard. Once you scan a barcode with a barcode reader, It will be received by the application as String. If you want to implement barcode reader using a camera, You will have to use a Barcode scanner library. For that you can refer here dzone.com/articles/java-barcode-api.
@tariqziyad49618 жыл бұрын
thank you very much for explanation Have a nice day
@0x20fa8 жыл бұрын
Hi, great tutorial, helped me a lot. I was wondering though, Do you know if I can change the background color of the dialog. If so, how?
@eltonfonseca9008 жыл бұрын
hello my friend, you can modify with the code: JFXDialogLayout dialogLayout = new JFXDialogLayout(); dialogLayout.setStyle("-fx-background-color: your color");
@0x20fa8 жыл бұрын
Elton Fonseca Thank you! it worked.
@icharmreyn7 жыл бұрын
Hi thank you for your help. Please continue sharing your knowledge. God bless you
@marizip8 жыл бұрын
First of all thank you for the tutorial, i followed all the steps but dialog doesnt show it just makes the clear areas darker, which version of jFoenix are you using?
@marizip8 жыл бұрын
Resolved changig the order of the stack pane xD pretty obvious but just posting it in case someone need some guidance github.com/jfoenixadmin/JFoenix/issues/157#issuecomment-248675122
@GenuineCoder8 жыл бұрын
Thanks for sharing :-)
@mtzrmzia7 жыл бұрын
if someone wants change the style and color of the button Okay , just use CSS: button.setButtonType(JFXButton.ButtonType.RAISED); button.setStyle("-fx-background-color: #2296F2;-fx-text-fill: #ffffff;");